import { type RenderOptions } from "https://deno.land/x/jsx_stream@v0.0.8/types.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.
optional
deferredPlaceholder: PlaceholderRendererProvide a custom deferred placeholder rendering function.
optional
deferredSubstitution: SubstitutionRendererProvide a custom function to render the substitution of a deferred stream.