Method ExpireWait
ExpireWait(AgentRunState, DateTime)
Ends the wait of a run whose event deadline passed: the run becomes resumable, and the waiting
step fails as a timeout when it resumes (its error steps then apply). False when the run
does not wait for an event, or its deadline has not passed.
public static bool ExpireWait(AgentRunState state, DateTime nowUtc)
Parameters
stateAgentRunStateThe waiting run, changed in place.
nowUtcDateTimeThe present.
Returns
- bool
Whether the wait ended.