langchain.js
Preparing search index...
@langchain/langgraph-sdk
react
UseStreamCustom
Type Alias UseStreamCustom<StateType, Bag>
UseStreamCustom
:
Pick
<
UseStream
<
StateType
,
Bag
>
,
"values"
|
"error"
|
"isLoading"
|
"stop"
|
"interrupt"
|
"messages"
,
>
&
{
submit
:
(
values
:
GetUpdateType
<
Bag
,
StateType
>
|
null
|
undefined
,
options
?:
CustomSubmitOptions
<
StateType
,
GetConfigurableType
<
Bag
>
>
,
)
=>
Promise
<
void
>
;
}
Type Parameters
StateType
extends
Record
<
string
,
unknown
>
=
Record
<
string
,
unknown
>
Bag
extends
BagTemplate
=
BagTemplate
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
langchain.js
Loading...