All Of
Wait for all of a set of events to complete.
AllOf
Bases: Event
An Event that triggers when all named child Events have triggered.
Child events are passed as keyword arguments. The value of the AllOf event is a dict mapping each keyword to the corresponding result.
cancelled
property
True if the event has been cancelled.
triggered
property
True if the event has been triggered (not pending, not cancelled).
cancel()
Cancel the event.
Fires _on_cancel(old_value) regardless of whether the event was pending or already triggered. This ensures that resources consumed by a pre-triggered get event are restored when FirstOf discards it. Does nothing if the event is already cancelled.
fail(exc)
Trigger the event with an exception.
The process awaiting this event will re-raise exc.
succeed(value=None)
Trigger the event with value and notify all waiters.