Methods for scheduling actions that will be executed in the future. More...
Public Member Functions | |
IDisposable | Schedule (Action action, int firstInMs) |
Schedules an action to be executed once. More... | |
IDisposable | ScheduleOnInterval (Action action, int firstInMs, int regularInMs) |
Schedule an action to be executed on a recurring interval. More... | |
IDisposable | Schedule (IFiberAction action, int firstInMs) |
Schedules an action to be executed once. More... | |
IDisposable | ScheduleOnInterval (IFiberAction action, int firstInMs, int regularInMs) |
Schedule an action to be executed on a recurring interval. More... | |
Methods for scheduling actions that will be executed in the future.
IDisposable ExitGames.Concurrency.Core.IScheduler.Schedule | ( | Action | action, |
int | firstInMs | ||
) |
Schedules an action to be executed once.
action | |
firstInMs |
Implemented in ExitGames.Concurrency.Fibers.PoolFiber, ExitGames.Concurrency.Fibers.ThreadFiber, ExitGames.Concurrency.Fibers.StubFiber, and ExitGames.Concurrency.Fibers.GuiFiber.
IDisposable ExitGames.Concurrency.Core.IScheduler.Schedule | ( | IFiberAction | action, |
int | firstInMs | ||
) |
Schedules an action to be executed once.
action | |
firstInMs |
Implemented in ExitGames.Concurrency.Fibers.PoolFiber, ExitGames.Concurrency.Fibers.ThreadFiber, ExitGames.Concurrency.Fibers.StubFiber, and ExitGames.Concurrency.Fibers.GuiFiber.
IDisposable ExitGames.Concurrency.Core.IScheduler.ScheduleOnInterval | ( | Action | action, |
int | firstInMs, | ||
int | regularInMs | ||
) |
Schedule an action to be executed on a recurring interval.
action | |
firstInMs | |
regularInMs |
Implemented in ExitGames.Concurrency.Fibers.PoolFiber, ExitGames.Concurrency.Fibers.ThreadFiber, ExitGames.Concurrency.Fibers.StubFiber, and ExitGames.Concurrency.Fibers.GuiFiber.
IDisposable ExitGames.Concurrency.Core.IScheduler.ScheduleOnInterval | ( | IFiberAction | action, |
int | firstInMs, | ||
int | regularInMs | ||
) |
Schedule an action to be executed on a recurring interval.
action | |
firstInMs | |
regularInMs |
Implemented in ExitGames.Concurrency.Fibers.PoolFiber, ExitGames.Concurrency.Fibers.ThreadFiber, ExitGames.Concurrency.Fibers.StubFiber, and ExitGames.Concurrency.Fibers.GuiFiber.