Add overloaded methods to TLKEvent for "Queue" and "Stack" with parameters:
AScheduleFor: Double; // The time at which we wish the Event to be dispatched for processing
AScheduleMode: TLKScheduleMode = smOffset; // See below
smOffsetTime = "Dispatch time = now + AScheduleFor"
smAbsoluteTime = "Dispatch time = Time stated by AScheduleFor"
Value of smOffsetTime will make the Event Engine calculate the Absolute Time based on the Current Time + AScheduleFor
As with everything in the LKSL's High Precision Threading and Event Engines, all Time values are provided as floating-point (double-precision) values in SECONDS.
Add overloaded methods to TLKEvent for "Queue" and "Stack" with parameters:
AScheduleFor: Double; // The time at which we wish the Event to be dispatched for processing AScheduleMode: TLKScheduleMode = smOffset; // See below
smOffsetTime = "Dispatch time = now + AScheduleFor" smAbsoluteTime = "Dispatch time = Time stated by AScheduleFor"
Value of smOffsetTime will make the Event Engine calculate the Absolute Time based on the Current Time + AScheduleFor
As with everything in the LKSL's High Precision Threading and Event Engines, all Time values are provided as floating-point (double-precision) values in SECONDS.