module documentation
Define asynchronous protocols for the SDK.
The channel and related components implement these small
typing.Protocol interfaces. Applicable protocols support runtime
checks for unit tests.
| Class | |
Protocol describing the minimal channel operations required by SDK clients. |
| Class | |
Define components that support controlled asynchronous shutdown. |
| Class | |
Define objects that run awaitables synchronously. |
| Function | release |
Release a transport through the SDK's non-masking lifecycle path. |
| Type Variable | T |
Undocumented |
def release_address_channel(channel:
ClientChannelInterface, chan: AddressChannel | None, *, discard: bool = False):
(source)
¶
Release a transport through the SDK's non-masking lifecycle path.
Older or custom channel implementations do not expose release_channel; those retain the original return/discard behavior.