![]() |
ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
|
Defines the contract for scheduling tasks to run at regular intervals. More...
Public Member Functions | |
IScheduleOnIntervalTask | ScheduleOnInterval (Action action, long firstInMs, int regularInMs) |
Schedules an action to be executed at regular intervals. | |
Defines the contract for scheduling tasks to run at regular intervals.
IScheduleOnIntervalTask XmobiTea.Threading.IScheduleOnInterval.ScheduleOnInterval | ( | Action | action, |
long | firstInMs, | ||
int | regularInMs ) |
Schedules an action to be executed at regular intervals.
action | The action to be scheduled. |
firstInMs | The delay in milliseconds before the first execution of the action. |
regularInMs | The interval in milliseconds between subsequent executions of the action. |
Implemented in XmobiTea.Threading.Agent.ScheduleOnIntervalAgent, XmobiTea.Threading.PoolFiber, XmobiTea.Threading.RoundRobinFiber, and XmobiTea.Threading.ThreadFiber.