jina.orchestrate.pods.helper module#
- class jina.orchestrate.pods.helper.ConditionalEvent(backend_runtime, events_list)[source]#
Bases:
object
ConditionalEvent
provides a common interface to an event (multiprocessing or threading event) that gets triggered when any of the events provided in input is triggered (OR logic)- Parameters
backend_runtime (
RuntimeBackendType
) – The runtime type to decide which type of Event to instantiateevents_list – The list of events that compose this composable event