Skip to content

StreamResultT

type StreamResultT<TData> =
| string
| ReactNode
| ((data) => ReactNode | string | Promise<ReactNode | string>);

Defined in: toast-stream.ts:26

Result can be string, ReactNode, or callback returning either (sync or async)

Type Parameter Default type
TData unknown