MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / _set_active_future

Method _set_active_future

tensorboard/util/grpc_util.py:73–79  ·  view source on GitHub ↗
(self, grpc_future)

Source from the content-addressed store, hash-verified

71 self._completion_event = completion_event
72
73 def _set_active_future(self, grpc_future):
74 if grpc_future is None:
75 raise RuntimeError(
76 "_set_active_future invoked with grpc_future=None."
77 )
78 with self._active_grpc_future_lock:
79 self._active_grpc_future = grpc_future
80
81 def result(self, timeout):
82 """Analogous to `grpc.Future.result`. Returns the value or exception.

Callers 1

async_callFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected