wait_for_external_event Module

Functions

wait_for_external_event_task

Determine the state of a task that is waiting for an event to occur.

wait_for_external_event_task(state: List[azure.durable_functions.models.history.HistoryEvent.HistoryEvent], name: str) -> azure.durable_functions.models.Task.Task

Parameters

state
<xref:List>[HistoryEvent]
Required

The list of history events to search to determine the current

of the task.
<xref:state>
Required
name
str
Required

The event name of the event that the task is waiting for.

Returns

Returns a completed task if the expected event was raised. Returns a not completed task if the expected event has not occurred yet.

Return type