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