PyDocs

Nav

Networking and Interprocess Communication

Condition.notify

asyncio

method of Condition (source) not WASI
  • Condition.notify(n=1)
By default, wake up one task waiting on this condition, if any.
If the calling task has not acquired the lock when this method
is called, a RuntimeError is raised.

This method wakes up n of the tasks waiting for the condition
 variable; if fewer than n are waiting, they are all awoken.

Note: an awakened task does not actually return from its
wait() call until it can reacquire the lock. Since notify() does
not release the lock, its caller should.
0 Examples
No examples for asyncio/Condition.notify.
See Also
No see-alsos for asyncio/Condition.notify
0 Notes
No notes for Condition.notify