C# Class AccidentalFish.ApplicationSupport.Core.Policies.Implementation.AsynchronousRegularTimer

Inheritance: IAsynchronousRegularTimer
Show file Open project: JamesRandall/AccidentalFish.ApplicationSupport Class Usage Examples

Public Methods

Method Description
AsynchronousRegularTimer ( ITimerThreadPoolExecuter threadPoolExecuter, IAsynchronousDelay taskDelay, System.TimeSpan interval, bool delayOnExecute ) : System
ExecuteAsync ( Action action, CancellationToken cancellationToken, System.Action shutdownAction = null ) : Task

Method Details

AsynchronousRegularTimer() public method

public AsynchronousRegularTimer ( ITimerThreadPoolExecuter threadPoolExecuter, IAsynchronousDelay taskDelay, System.TimeSpan interval, bool delayOnExecute ) : System
threadPoolExecuter ITimerThreadPoolExecuter
taskDelay IAsynchronousDelay
interval System.TimeSpan
delayOnExecute bool
return System

ExecuteAsync() public method

public ExecuteAsync ( Action action, CancellationToken cancellationToken, System.Action shutdownAction = null ) : Task
action Action
cancellationToken System.Threading.CancellationToken
shutdownAction System.Action
return Task