timer_task Module

Classes

TimerTask

Represents a pending timer.

All pending timers must be completed or canceled for an orchestration to complete.

Example: Cancel a timer

``<<` timeout_task = context.df.create_timer(expiration_date) if not timeout_task.is_completed():

timeout_task.cancel()

``<<>>`<<