submit(
input: WidenUpdateMessages<Partial<StateType>> | null | undefined,
options: StreamSubmitOptions| Name | Type | Description |
|---|---|---|
input* | WidenUpdateMessages<Partial<StateType>> | null | undefined | |
options | StreamSubmitOptions<StateType, ConfigurableType> |
Dispatch a new run on the bound thread.
input is typed as Partial<StateType> so IDE autocompletion
surfaces the state keys declared on the root composable.