File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,10 +28,11 @@ The `SentRequest` remembers the peer and any proxy wrapping used for the
2828original request, so this also works for requests sent through
2929` ConnectionTo::send_request_to ` .
3030
31- Dropping a ` SentRequest ` before a response is received also sends
32- ` $/cancel_request ` . This covers abandoned request handles and futures: once a
33- response is received by ` block_task ` , ` on_receiving_result ` , or
34- ` forward_response_to ` , the SDK disarms the automatic cancellation.
31+ Dropping a ` SentRequest ` before the SDK receives a response also sends
32+ ` $/cancel_request ` . This covers abandoned request handles and futures. Once the
33+ SDK routes a response to the waiting request handle, automatic cancellation is
34+ disarmed, even if caller code has not yet consumed it with ` block_task ` ,
35+ ` on_receiving_result ` , or ` forward_response_to ` .
3536
3637If you already have the JSON-RPC request ID, send the notification directly:
3738
You can’t perform that action at this time.
0 commit comments