(self, timeout: Optional[int] = None)
| 80 | self._task.cancel() |
| 81 | |
| 82 | async def join(self, timeout: Optional[int] = None) -> None: |
| 83 | if self._task is not None: |
| 84 | await asyncio.wait([self._task], timeout=timeout) # type-ignore: [arg-type] |
| 85 | |
| 86 | def wake(self) -> None: |
| 87 | """Execute the target function soon.""" |