const gather: <T>(
calls?:
| string
| number
| DeferredCall<any>
| ArrowFunction
| LiveElement<ArrowFunction>[]
| ReactElementInterop
| LiveNode<any>[],
then?: (r: T[]) => LiveElement,
fallback?: T[],
key?: Key,
) => DeferredCall<() => void>
Gather items from a subtree, into a flat array.
packages / live / src / builtin.ts