forked from goodboy/tractor
Tweak `Channel._cancel_called` comment
parent
df31047ecb
commit
f4e63465de
|
@ -294,9 +294,11 @@ class Channel:
|
||||||
self._agen = self._aiter_recv()
|
self._agen = self._aiter_recv()
|
||||||
self._exc: Optional[Exception] = None # set if far end actor errors
|
self._exc: Optional[Exception] = None # set if far end actor errors
|
||||||
self._closed: bool = False
|
self._closed: bool = False
|
||||||
# flag set on ``Portal.cancel_actor()`` indicating
|
|
||||||
# remote (peer) cancellation of the far end actor runtime.
|
# flag set by ``Portal.cancel_actor()`` indicating remote
|
||||||
self._cancel_called: bool = False # set on ``Portal.cancel_actor()``
|
# (possibly peer) cancellation of the far end actor
|
||||||
|
# runtime.
|
||||||
|
self._cancel_called: bool = False
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_stream(
|
def from_stream(
|
||||||
|
|
Loading…
Reference in New Issue