Module: events

Classes

AddCoro

A operator for adding a coroutine in the scheduler. Example:

Call

This will pause the current coroutine, add a new coro in the scheduler and resume the callee when it returns.

ConnectionClosed

Raised when the other peer has closed connection.

Join

A operator for waiting on a coroutine. Example:

OperationTimeout

Raised when the timeout for a operation expires. The exception message will be the operation

Signal

This will resume the coroutines that where paused with WaitForSignal.

Sleep

Usage:

WaitForSignal

The coroutine will resume when the same object is Signaled.