C# Class Xciles.Uncommon.Utils.Retry

ファイルを表示 Open project: Xciles/Uncommon

Public Methods

Method Description
DoAsync ( Func action, Func retryWhen, CancellationToken ct, int retryCount = 3 ) : Task
DoAsync ( Func action, Func retryWhen, int retryCount = 3 ) : Task
DoAsync ( Func action, TimeSpan retryInterval, CancellationToken ct, int retryCount = 3 ) : Task
DoAsync ( Func action, TimeSpan retryInterval, int retryCount = 3 ) : Task
DoAsync ( Func action, Func retryWhen, CancellationToken ct, int retryCount = 3 ) : Task
DoAsync ( Func action, Func retryWhen, int retryCount = 3 ) : Task
DoAsync ( Func action, TimeSpan retryInterval, CancellationToken ct, int retryCount = 3 ) : Task
DoAsync ( Func action, TimeSpan retryInterval, int retryCount = 3 ) : Task

Method Details

DoAsync() public static method

public static DoAsync ( Func action, Func retryWhen, CancellationToken ct, int retryCount = 3 ) : Task
action Func
retryWhen Func
ct CancellationToken
retryCount int
return Task

DoAsync() public static method

public static DoAsync ( Func action, Func retryWhen, int retryCount = 3 ) : Task
action Func
retryWhen Func
retryCount int
return Task

DoAsync() public static method

public static DoAsync ( Func action, TimeSpan retryInterval, CancellationToken ct, int retryCount = 3 ) : Task
action Func
retryInterval TimeSpan
ct CancellationToken
retryCount int
return Task

DoAsync() public static method

public static DoAsync ( Func action, TimeSpan retryInterval, int retryCount = 3 ) : Task
action Func
retryInterval TimeSpan
retryCount int
return Task

DoAsync() public static method

public static DoAsync ( Func action, Func retryWhen, CancellationToken ct, int retryCount = 3 ) : Task
action Func
retryWhen Func
ct CancellationToken
retryCount int
return Task

DoAsync() public static method

public static DoAsync ( Func action, Func retryWhen, int retryCount = 3 ) : Task
action Func
retryWhen Func
retryCount int
return Task

DoAsync() public static method

public static DoAsync ( Func action, TimeSpan retryInterval, CancellationToken ct, int retryCount = 3 ) : Task
action Func
retryInterval TimeSpan
ct CancellationToken
retryCount int
return Task

DoAsync() public static method

public static DoAsync ( Func action, TimeSpan retryInterval, int retryCount = 3 ) : Task
action Func
retryInterval TimeSpan
retryCount int
return Task