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

Inheritance: IAsynchronousBackoffPolicy
Mostrar archivo Open project: JamesRandall/AccidentalFish.ApplicationSupport

Public Methods

Method Description
AsynchronousBackoffPolicy ( ICoreAssemblyLogger logger, IBackoffPolicyTimingProvider provider ) : System
ExecuteAsync ( Func function, System.Action shutdownAction, CancellationToken cancellationToken ) : Task
ExecuteAsync ( Func function, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
Backoff ( ) : Task

Method Details

AsynchronousBackoffPolicy() public method

public AsynchronousBackoffPolicy ( ICoreAssemblyLogger logger, IBackoffPolicyTimingProvider provider ) : System
logger ICoreAssemblyLogger
provider IBackoffPolicyTimingProvider
return System

ExecuteAsync() public method

public ExecuteAsync ( Func function, System.Action shutdownAction, CancellationToken cancellationToken ) : Task
function Func
shutdownAction System.Action
cancellationToken System.Threading.CancellationToken
return Task

ExecuteAsync() public method

public ExecuteAsync ( Func function, CancellationToken cancellationToken ) : Task
function Func
cancellationToken System.Threading.CancellationToken
return Task