Skip to content

IConcurrencyAbstractionLayer.StartPeriodicTimer(Action, TimeSpan) method

Defined in

Type: IConcurrencyAbstractionLayer Namespace: System.Reactive.Concurrency Assembly: System.Reactive.dll

Applies to

netstandard2.0

IDisposable StartPeriodicTimer(Action action, TimeSpan period)

Summary: Queues a method for periodic execution based on the specified period.

Parameters

NameTypeDescription
actionActionMethod to execute; should be safe for reentrancy.
periodTimeSpanPeriod for running the method periodically.

Returns: IDisposable -- Disposable object that can be used to stop the timer.