Function useStreamContext
- useStreamContext<StateType, Bag>(): UseStreamContext<StateType, Bag>
Type Parameters
- StateType extends Record<string, unknown> = Record<string, unknown>
- Bag extends {
ConfigurableType?: Record<string, unknown>;
CustomEventType?: unknown;
InterruptType?: unknown;
MetaType?: unknown;
UpdateType?: unknown;
} = BagTemplate
Returns UseStreamContext<StateType, Bag>