Click or drag to resize

ITimerServiceStart Method

Starts a timer with the specified interval and action.

Namespace:  SampSharp.Entities
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
TimerReference Start(
	Action<IServiceProvider> action,
	TimeSpan interval
)

Parameters

action
Type: SystemActionIServiceProvider
The action to perform each timer tick.
interval
Type: SystemTimeSpan
The interval at which to tick.

Return Value

Type: TimerReference
A reference to the started timer.
See Also