Inherits object.
Public Member Functions | |
def | __call__ |
def | __init__ |
def | __repr__ |
def | doit |
def | ignore |
Public Attributes | |
caller_function | |
done_callback | |
item_callback | |
iterator | |
unwind_stack |
Iteration construct for event-driven code. Takes three arguments: - Some kind of iterable object - A callback to call on each item in the iteration - A callback to call after the iteration terminates. The item callback receives two arguments: the callable iterator object and the current value of the iteration. It should call the iterator (or arrange for the iterator to be called) when it is time to continue to the next item in the iteration. The termination callback receives no arguments.
Definition at line 26 of file async.py.
def rpki.async.iterator.__init__ | ( | self, | ||
iterable, | ||||
item_callback, | ||||
done_callback, | ||||
unwind_stack = True | ||||
) |