const detach: <F extends ArrowFunction>( call: DeferredCall<F> | DeferredCall<F>, callback: ( render: () => void, fiber: LiveFiber<F>, ) => void, key?: Key, ) => DeferredCall<() => void>
Detach the rendering of a Live subtree.
The callback is invoked with a render function, which it can call repeatedly to render the detached fiber.
packages / live / src / builtin.ts