WaitTrigger

ISignal ILatch.WaitTrigger(double timeout)

Waits until the latch is triggered, or the timeout interval is exceeded.

Parameters

timeout – Interval in seconds to wait for trigger. Negative value means infinite.

Returns

ISignal – Data source signal.

Throws
Remarks

Returns at entry of LatchState.Triggered. Additionally, if configured with LatchTriggerMode.OneShot, this function also returns if the latch is already triggered. Execution requires one subscription resource.