Notification

Notification-based convention. The transport sends a JSON-RPC notification (no id) with method and params { "id": <original request id> } when a caller is cancelled.

Incoming notifications with method are dispatched to cancel a previously registered handler job.

Matches LSP's $/cancelRequest shape when method is "$/cancelRequest".

Constructors

Link copied to clipboard
constructor(method: String)

Properties

Link copied to clipboard