Table of Contents

Enum ConcurrentTriggerProcessing

Namespace
KZDev.PrimeTime
Assembly
KZDev.PrimeTime.dll

Options for concurrent trigger processing for time-of-day timers.

public enum ConcurrentTriggerProcessing

Fields

Skip = 0

Concurrent trigger processing is not allowed. If a trigger fires while a callback is running, the new trigger is skipped (no callback for that time of day).

This is the default value.

RunConcurrently = 1

Concurrent trigger processing is allowed. If a trigger fires while a callback is running, the new trigger is processed concurrently.

Multiple callbacks may run concurrently; the callback implementation must ensure that is safe and that the level of concurrency is acceptable.

RunSequentially = 2

Concurrent trigger processing is not allowed, but triggers are not skipped. If a trigger fires while a callback is running, the new trigger is queued and runs after the current callback completes.

Only one callback is queued at a time; if a trigger fires while a callback is running and there is already a callback queued, the new trigger is skipped (no callback for that time of day).