Class: cogen.core.events.Call
This will pause the current coroutine, add a new coro in the scheduler and
resume the callee when it returns.
Usage:
Usage:
result = yield events.Call(mycoro, args=<a tuple>, kwargs=<a dict>, prio=<int>)
- if
prio
is set the new coroutine will be added in the top of the
scheduler queue