MCP Apps
    Preparing search index...

    Type Alias LegacyNotificationHandler<S>

    LegacyNotificationHandler: (notification: S["_output"]) => void | Promise<void>

    Type Parameters

    Type Declaration

      • (notification: S["_output"]): void | Promise<void>
      • Parameters

        • notification: S["_output"]

        Returns void | Promise<void>

    Use setNotificationHandler("method", { params }, (params) => …).