import { type RenderOptions } from "https://deno.land/x/jsx_stream@v0.2.0/mod.ts";
Properties
Enable deferral of slow async components.
Any async component that takes longer than the given timeout will be deferred, and replaced with a placeholder in the stream. The component will eventually be rendered at the end of the stream in a block of Javascript that replaces the placeholder in the browser.
Setting this to falsy will disable deferral.
Provide a custom deferred placeholder rendering function.
Provide a custom function to render the substitution of a deferred stream.
Enable a delay during streaming.
This allows you to see the actual effect of streaming whilst developing locally.
Allow custom handling of tags.
Content can be injected before/after a opening or closing tag. Useful for injecting scripts to support custom elements.