renderToStreamWithSuspenseInScope function

Stream<String> renderToStreamWithSuspenseInScope(
  1. BloomNode node,
  2. BloomQueryScope scope
)

Suspense streaming render reusing scope (caller owns lifetime).

Async Suspense continuations inherit the scope zone, so late-resolved patches stay request-local.

Implementation

Stream<String> renderToStreamWithSuspenseInScope(
        BloomNode node, BloomQueryScope scope) =>
    BloomData.runWithScope(scope, () => renderToStreamWithSuspense(node));