Methods

Class: cogen.core.events.Signal

This will resume the coroutines that where paused with WaitForSignal.

Usage:

nr = yield events.Signal(name, value)
  • nr - the number of coroutines woken up

Methods

__init__ (self, name, value=None, recipients=0, **kws)

All the coroutines waiting for this object will be added back in the active coroutine queue.