Back to documentation
Preparing search index...
The search index is not available
API Reference
API Reference
langgraph
SharedValue
Class SharedValue
Hierarchy (
View Summary
)
WritableManagedValue
<
Value
,
Update
>
SharedValue
Index
Constructors
constructor
Properties
config
lg_
is_
managed_
value
ns
runtime
scope
store
value
Methods
add
Promise
call
promises
update
initialize
on
Constructors
constructor
new
SharedValue
(
config
:
LangGraphRunnableConfig
,
params
:
SharedValueParams
,
)
:
SharedValue
Parameters
config
:
LangGraphRunnableConfig
params
:
SharedValueParams
Returns
SharedValue
Properties
config
config
:
RunnableConfig
lg_
is_
managed_
value
lg_is_managed_value
:
boolean
ns
ns
:
null
|
[
"scoped"
,
string
,
string
,
any
]
runtime
runtime
:
boolean
scope
scope
:
string
store
store
:
null
|
BaseStore
value
value
:
Value
Methods
Protected
add
Promise
addPromise
(
promise
:
Promise
<
unknown
>
)
:
void
Parameters
promise
:
Promise
<
unknown
>
Returns
void
call
call
(
_step
:
number
)
:
Value
Parameters
_step
:
number
Returns
Value
promises
promises
()
:
Promise
<
unknown
>
Returns
Promise
<
unknown
>
update
update
(
values
:
Update
[]
)
:
Promise
<
void
>
Parameters
values
:
Update
[]
Returns
Promise
<
void
>
Static
initialize
initialize
<
Value
=
any
>
(
config
:
RunnableConfig
,
args
:
SharedValueParams
,
)
:
Promise
<
ManagedValue
<
Value
>
>
Type Parameters
Value
=
any
Parameters
config
:
RunnableConfig
args
:
SharedValueParams
Returns
Promise
<
ManagedValue
<
Value
>
>
Static
on
on
(
scope
:
string
)
:
ConfiguredManagedValue
<
Value
>
Parameters
scope
:
string
Returns
ConfiguredManagedValue
<
Value
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
config
lg_
is_
managed_
value
ns
runtime
scope
store
value
Methods
add
Promise
call
promises
update
initialize
on
Back to documentation
API Reference
Loading...