const capture: <T, C>(
context: LiveCapture<C>,
calls?:
| string
| number
| DeferredCall<any>
| ArrowFunction
| LiveElement<ArrowFunction>[]
| ReactElementInterop
| LiveNode<any>[],
then?: (r: T) => void,
key?: Key,
) => DeferredCall<() => void>
Capture values from a Live context.
packages / live / src / builtin.ts