C# Class HermaFx.Utils.BackoffWaiter

I can help you wait, especially if you want to wait e.g. for some kind of increasing amount of time.
显示文件 Open project: evicertia/HermaFx

Public Methods

Method Description
BackoffWaiter ( ) : System
Reset ( ) : void

Resets the backoff helper which means that waiting will start over from the beginning of the sequence of wait times

Wait ( ) : void

Waits the time specified next in the sequence

Wait ( Action howLongTheWaitWillLast ) : void

Waits the time specified next in the sequence, invoking the callback with the time that will be waited

Method Details

BackoffWaiter() public method

public BackoffWaiter ( ) : System
return System

Reset() public method

Resets the backoff helper which means that waiting will start over from the beginning of the sequence of wait times
public Reset ( ) : void
return void

Wait() public method

Waits the time specified next in the sequence
public Wait ( ) : void
return void

Wait() public method

Waits the time specified next in the sequence, invoking the callback with the time that will be waited
public Wait ( Action howLongTheWaitWillLast ) : void
howLongTheWaitWillLast Action
return void