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:

  1. prefix
  2. HTML from the view in order, pausing to wait for each <Suspense/>
  3. 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.