MCP TypeScript SDK
    Preparing search index...

    Type Alias ResponseMessage<T>

    ResponseMessage:
        | TaskStatusMessage
        | TaskCreatedMessage
        | ResultMessage<T>
        | ErrorMessage

    Union type representing all possible messages that can be yielded during request processing. Note: Progress notifications are handled through the existing onprogress callback mechanism. Side-channeled messages (server requests/notifications) are handled through registered handlers.

    Type Parameters