public static Timer CreateTimer(TimerCallback callback)All Types / Faultline.Interception
class SimTimerHooks
public static class SimTimerHooks
Interception targets for Timer. Schedules timer callbacks deterministically on SimEngine when running inside a Faultline simulation without activating real OS timer threads.
Methods
public static Timer CreateTimer(TimerCallback callback, object? state, int dueTime, int period)public static Timer CreateTimer(TimerCallback callback, object? state, long dueTime, long period)public static Timer CreateTimer(TimerCallback callback, object? state, uint dueTime, uint period)public static Timer CreateTimer(TimerCallback callback, object? state, TimeSpan dueTime, TimeSpan period)public static bool Change(Timer timer, int dueTime, int period)public static bool Change(Timer timer, long dueTime, long period)public static bool Change(Timer timer, uint dueTime, uint period)public static bool Change(Timer timer, TimeSpan dueTime, TimeSpan period)public static void Dispose(Timer timer)public static ValueTask DisposeAsync(Timer timer)