pub fn render_to_stream_in_order_with_prefix_undisposed_with_context(
view: impl FnOnce(Scope) -> View + 'static,
prefix: impl FnOnce(Scope) -> Cow<'static, str> + 'static,
additional_context: impl FnOnce(Scope) + 'static
) -> (impl Stream<Item = String>, RuntimeId, ScopeId)Expand description
Renders an in-order HTML stream, pausing at <Suspense/> components. The stream contains,
in order:
prefix- HTML from the
viewin order, pausing to wait for each<Suspense/> - any serialized Resources
additional_context is injected before the view is rendered. The prefix is generated
after the view is rendered, but before <Suspense/> nodes have resolved.