Table of Contents

Method ExpireWait

Namespace
LMKit.Agents.Workflows
Assembly
LM-Kit.NET.dll

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

state AgentRunState

The waiting run, changed in place.

nowUtc DateTime

The present.

Returns

bool

Whether the wait ended.

Share