lighthouse.events¶lighthouse.events.wait_on_any(*events, **kwargs)[source]¶Helper method for waiting for any of the given threading events to be set.
The standard threading lib doesn’t include any mechanism for waiting on
more than one event at a time so we have to monkey patch the events
so that their set() and clear() methods fire a callback we can use
to determine how a composite event should react.