mcp-use TypeScript API
Preparing search index...
@mcp-use/client
index
NotificationHandler
Type Alias NotificationHandler
NotificationHandler
:
(
notification
:
Notification
)
=>
void
|
Promise
<
void
>
Handles a notification received from an MCP server.
Type Declaration
(
notification
:
Notification
)
:
void
|
Promise
<
void
>
Parameters
notification
:
Notification
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 received from an MCP server.