Timer
View as MarkdownThis page lists the Go SDK names for Timers. The doc comment of each API gives its parameters, defaults, and errors. Read them in the Go SDK API reference.
API names
| Task | Go API | Dex behavior |
|---|---|---|
| Wait for a duration | Timer in WaitFor | Firing time |
| Give the Timer a stable ID | WithConditionID, passed to Timer | AnyCombinationOf |
| Combine a Timer with other conditions | AnyOf, AllOf, and AnyComboOf with Combo | Waits |
| Check whether a Timer fired | Context.HasTimerFired and Context.HasTimerFiredByIndex in Execute | Condition results |
| Make a waiting Timer ready now | Client.SkipTimer, with StepExecutionID and TimerID | Skip a Timer |