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