Classes | Functions | Variables
grpc.beta.utilities Namespace Reference

Classes

class  _ChannelReadyFuture
 

Functions

def channel_ready_future (channel)
 

Variables

tuple _DONE_CALLBACK_EXCEPTION_LOG_MESSAGE
 

Function Documentation

◆ channel_ready_future()

def grpc.beta.utilities.channel_ready_future (   channel)
Creates a future.Future tracking when an implementations.Channel is ready.

  Cancelling the returned future.Future does not tell the given
  implementations.Channel to abandon attempts it may have been making to
  connect; cancelling merely deactivates the return future.Future's
  subscription to the given implementations.Channel's connectivity.

  Args:
channel: An implementations.Channel.

  Returns:
A future.Future that matures when the given Channel has connectivity
  interfaces.ChannelConnectivity.READY.

Definition at line 132 of file beta/utilities.py.

Variable Documentation

◆ _DONE_CALLBACK_EXCEPTION_LOG_MESSAGE

tuple grpc.beta.utilities._DONE_CALLBACK_EXCEPTION_LOG_MESSAGE
private
Initial value:
1 = (
2  'Exception calling connectivity future "done" callback!')

Definition at line 25 of file beta/utilities.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:32