UseStreamOptions
type UseStreamOptions<TYield, TReturn, TState> = | UseStreamAccumulateOptions<TYield, TReturn> | UseStreamLatestOptions<TYield, TReturn> | UseStreamMaxItemsOptions<TYield, TReturn>| UseStreamReducerOptions<TYield, TState, TReturn>;Defined in: stream-renderer.tsx:298
Props for useStream hook - mutually exclusive accumulation options
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
TYield |
- |
TReturn |
void |
TState |
unknown |