C# 클래스 AccidentalFish.ApplicationSupport.Core.Policies.Implementation.AsynchronousBackoffPolicy

상속: IAsynchronousBackoffPolicy
파일 보기 프로젝트 열기: JamesRandall/AccidentalFish.ApplicationSupport

공개 메소드들

메소드 설명
AsynchronousBackoffPolicy ( ICoreAssemblyLogger logger, IBackoffPolicyTimingProvider provider ) : System
ExecuteAsync ( Func function, System.Action shutdownAction, CancellationToken cancellationToken ) : Task
ExecuteAsync ( Func function, CancellationToken cancellationToken ) : Task

비공개 메소드들

메소드 설명
Backoff ( ) : Task

메소드 상세

AsynchronousBackoffPolicy() 공개 메소드

public AsynchronousBackoffPolicy ( ICoreAssemblyLogger logger, IBackoffPolicyTimingProvider provider ) : System
logger ICoreAssemblyLogger
provider IBackoffPolicyTimingProvider
리턴 System

ExecuteAsync() 공개 메소드

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

ExecuteAsync() 공개 메소드

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