Enum lsp_types::notification::Cancel [−][src]
pub enum Cancel {}
Expand description
The base protocol now offers support for request cancellation. To cancel a request, a notification message with the following properties is sent:
A request that got canceled still needs to return from the server and send a response back. It can not be left open / hanging. This is in line with the JSON RPC protocol that requires that every request sends a response back. In addition it allows for returning partial results on cancel.