forked from goodboy/tractor
1
0
Fork 0

Support no arg to `Context.started()` like trio

bi_streaming
Tyler Goodlet 2021-05-25 09:19:07 -04:00
parent 20e73c5ce7
commit 8017e55b85
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ class Context:
if self._portal:
self._portal._streams.remove(rchan)
async def started(self, value: Any) -> None:
async def started(self, value: Optional[Any] = None) -> None:
if self._portal:
raise RuntimeError(