Class Nexus\Mcp\Schema\Notification\CancelledNotification

final
readonly
extends JsonRpcNotification<array{jsonrpc: '2.0', method: 'notifications/cancelled', params: array{_meta?: array<string, mixed>, requestId: (int|non-empty-string), reason?: non-empty-string}}>
implements ClientNotification, ServerNotification

This notification can be sent by either side to indicate that it is cancelling a previously-issued request. The request SHOULD still be in-flight, but due to communication latency, it is always possible that this notification MAY arrive after the request has already finished. This notification indicates that the result will be unused, so any associated processing SHOULD cease. A client MUST NOT attempt to cancel its initialize request.

Methods
Methods inherited from Nexus\Mcp\Schema\Message\JsonRpcNotification
toArray()
Methods inherited from Nexus\Mcp\Schema\Notification\Notification
jsonSerialize()
Methods inherited from Nexus\Mcp\Schema\Message\Message
validateJsonRpc()
Constants inherited from Nexus\Mcp\Schema\Message\JsonRpcMessage
JSON_RPC_VERSION
Properties inherited from Nexus\Mcp\Schema\Message\JsonRpcNotification
$jsonrpc
Properties inherited from Nexus\Mcp\Schema\Notification\Notification
$method, $params