MCP TypeScript SDK (V2)
V1 Docs
Preparing search index...
@modelcontextprotocol/client
index
ListChangedCallback
Type Alias ListChangedCallback<T>
ListChangedCallback
:
(
error
:
Error
|
null
,
items
:
T
[]
|
null
)
=>
void
Callback type for list changed notifications.
Type Parameters
T
Type Declaration
(
error
:
Error
|
null
,
items
:
T
[]
|
null
)
:
void
Parameters
error
:
Error
|
null
items
:
T
[]
|
null
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
V1 Docs
MCP TypeScript SDK (V2)
Loading...
Callback type for list changed notifications.