RpcTask
🛈 DocStrings¶
An incoming request or notification waiting to be handled.
Attributes:
| Name | Type | Description |
|---|---|---|
kind |
RpcTaskKind
|
Whether the message is a request or a notification. |
message |
dict[str, Any]
|
The raw JSON-RPC message. |
done |
Future[None] | None
|
Resolved once the message has been handled. Set for notifications, so the connection can wait for notifications received before a given response. |