Class: cogen.core.coroutine.Coroutine

We need a coroutine wrapper for generators and function alike because we want to run functions that don'self return generators just like a coroutine

Methods

add_waiter (self, coro)

finalize (self)

handle_error (self)

remove_waiter (self, coro)

run_op (self, op)

~ @debug(0)

Attributes

Value of

None

AF_INET

Value of AF_INET

None

AF_UNSPEC

Value of AF_UNSPEC

None

AI_PASSIVE

Value of AI_PASSIVE

None

IPPROTO_GGP

Value of IPPROTO_GGP

None

caller

Value of caller

None

coro

Value of coro

None

exception

Value of exception

None

f_args

Value of f_args

None

f_kws

Value of f_kws

None

name

Value of name

None

prio

Value of prio

None

result

Value of result

None

state

Value of state

None

waiters

Value of waiters

None