Public Member Functions | |
def | __call__ |
def | __init__ |
def | cb |
def | eb |
Public Attributes | |
func | |
Static Public Attributes | |
err = None | |
res = None |
Synchronous wrapper around asynchronous functions. Running in asynchronous mode at all times makes sense for event-driven daemons, but is kind of tedious for simple scripts, hence this wrapper. The wrapped function should take at least two arguments: a callback function and an errback function. If any arguments are passed to the wrapper, they will be passed as additional arguments to the wrapped function.
Definition at line 236 of file async.py.
def rpki.async.sync_wrapper.__call__ | ( | self, | ||
args, | ||||
kwargs | ||||
) |
rpki.async.sync_wrapper.err = None [static] |
rpki.async.sync_wrapper.res = None [static] |