C# Class Taskular.RepeatExtensions

Datei anzeigen Open project: phatboyg/Taskular

Public Methods

Method Description
Repeat ( this composer, System.TimeSpan interval, Action callback, CancellationToken repeatCancellationToken = default(CancellationToken) ) : Composer

Retry a task composition using the specified retry policy

Repeat ( this composer, System.TimeSpan initialDelay, System.TimeSpan interval, Action callback, CancellationToken repeatCancellationToken = default(CancellationToken) ) : Composer

Retry a task composition using the specified retry policy

Repeat ( this composer, int millisecondsInterval, Action callback, CancellationToken repeatCancellationToken ) : Composer

Retry a task composition using the specified retry policy

Repeat ( this composer, int millisecondsInitialDelay, int millisecondsInterval, Action callback, CancellationToken repeatCancellationToken ) : Composer

Retry a task composition using the specified retry policy

Private Methods

Method Description
Attempt ( Composer composer, System.TimeSpan interval, Action callback, CancellationToken repeatCancellationToken ) : void

Method Details

Repeat() public static method

Retry a task composition using the specified retry policy
public static Repeat ( this composer, System.TimeSpan interval, Action callback, CancellationToken repeatCancellationToken = default(CancellationToken) ) : Composer
composer this The task composer
interval System.TimeSpan The interval between each repetition
callback Action The task composition callback
repeatCancellationToken System.Threading.CancellationToken A cancellation token for the repeat-portion of the task composer
return Composer

Repeat() public static method

Retry a task composition using the specified retry policy
public static Repeat ( this composer, System.TimeSpan initialDelay, System.TimeSpan interval, Action callback, CancellationToken repeatCancellationToken = default(CancellationToken) ) : Composer
composer this The task composer
initialDelay System.TimeSpan The initial delay before the first execution
interval System.TimeSpan The interval between each repetition
callback Action The task composition callback
repeatCancellationToken System.Threading.CancellationToken A cancellation token for the repeat-portion of the task composer
return Composer

Repeat() public static method

Retry a task composition using the specified retry policy
public static Repeat ( this composer, int millisecondsInterval, Action callback, CancellationToken repeatCancellationToken ) : Composer
composer this The task composer
millisecondsInterval int
callback Action The task composition callback
repeatCancellationToken System.Threading.CancellationToken
return Composer

Repeat() public static method

Retry a task composition using the specified retry policy
public static Repeat ( this composer, int millisecondsInitialDelay, int millisecondsInterval, Action callback, CancellationToken repeatCancellationToken ) : Composer
composer this The task composer
millisecondsInitialDelay int The initial delay before the first execution in milliseconds
millisecondsInterval int
callback Action The task composition callback
repeatCancellationToken System.Threading.CancellationToken
return Composer