Add #TODO for `._context` to use `.msg.Aid`

to_asyncio_eoc_signal
Tyler Goodlet 2025-07-04 15:01:29 -04:00
parent aa2b1fbf8b
commit 81b11fd665
1 changed files with 2 additions and 0 deletions

View File

@ -743,6 +743,8 @@ class Context:
# cancelled, NOT their reported canceller. IOW in the # cancelled, NOT their reported canceller. IOW in the
# latter case we're cancelled by someone else getting # latter case we're cancelled by someone else getting
# cancelled. # cancelled.
#
# !TODO, switching to `Actor.aid` here!
if (canc := error.canceller) == self._actor.uid: if (canc := error.canceller) == self._actor.uid:
whom: str = 'us' whom: str = 'us'
self._canceller = canc self._canceller = canc