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 hook. Pass null
(or omit fields) when resuming an interrupt via options.command.resume
— the server accepts a null payload in that case.
submit(
input: WidenUpdateMessages<Partial<StateType>> | null | undefined,
options: StreamSubmitOptions<StateType, ConfigurableType>
): Promise<void>| Name | Type | Description |
|---|---|---|
input* | WidenUpdateMessages<Partial<StateType>> | null | undefined | |
options | StreamSubmitOptions<StateType, ConfigurableType> |