bibliopixel.util.threads.compose_events module

bibliopixel.util.threads.compose_events.compose_events(events, condition=<built-in function all>)[source]

Compose a sequence of events into one event.

Arguments:
events: a sequence of objects looking like threading.Event condition: a function taking a sequence of bools and returning a bool.