runSsrRequestStream<S> function
Stream<S>
runSsrRequestStream<S>(
- Stream<
S> body(- BloomQueryScope scope
- BloomQueryScope? scope,
- String? debugLabel,
Variant of runSsrRequest for streaming responses.
Keeps the request scope alive until the returned stream closes, errors, or the subscriber cancels (covers streaming, errors, and cancellation).
Implementation
Stream<S> runSsrRequestStream<S>(
Stream<S> Function(BloomQueryScope scope) body, {
BloomQueryScope? scope,
String? debugLabel,
}) =>
BloomData.withRequestScopeStream<S>(body,
scope: scope, debugLabel: debugLabel ?? 'ssr-stream');