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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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