mcp-use TypeScript API
Preparing search index...
@mcp-use/client
index
OnNotificationCallback
Type Alias OnNotificationCallback
OnNotificationCallback
:
(
notification
:
Notification
)
=>
void
|
Promise
<
void
>
Handles a notification sent by an MCP server.
Type Declaration
(
notification
:
Notification
)
:
void
|
Promise
<
void
>
Parameters
notification
:
Notification
The notification envelope supplied by the server.
Returns
void
|
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
mcp-use TypeScript API
Loading...
Handles a notification sent by an MCP server.