create_timer Module

Functions

create_timer_task

Durable Timers are used in orchestrator function to implement delays.

create_timer_task(state: List[azure.durable_functions.models.history.HistoryEvent.HistoryEvent], fire_at: datetime.datetime) -> azure.durable_functions.tasks.timer_task.TimerTask

Parameters

state
<xref:List>[HistoryEvent]
Required

The list of history events to search to determine the current state of the activity

fire_at
datetime
Required

The time interval to fire the timer trigger

Returns

A Durable Timer Task that schedules the timer to wake up the activity

Return type