Notify the events in the loop.
(loop: asyncio.AbstractEventLoop,
queues: List["_SyncQueue"])
| 482 | |
| 483 | @staticmethod |
| 484 | def notify_many(loop: asyncio.AbstractEventLoop, |
| 485 | queues: List["_SyncQueue"]) -> None: |
| 486 | """ Notify the events in the loop. """ |
| 487 | |
| 488 | if loop.is_running(): |
| 489 | asyncio.run_coroutine_threadsafe( |
| 490 | _SyncQueue._notify_many(frozenset(queues)), loop) |
| 491 | else: |
| 492 | raise AsyncQueue.EventLoopShutdownError() |
| 493 | |
| 494 | @property |
| 495 | def loop(self) -> asyncio.AbstractEventLoop: |
no test coverage detected