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.
Afficher le fichier Open project: evicertia/HermaFx

Méthodes publiques

Méthode 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 méthode

public BackoffWaiter ( ) : System
Résultat System

Reset() public méthode

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

Wait() public méthode

Waits the time specified next in the sequence
public Wait ( ) : void
Résultat void

Wait() public méthode

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
Résultat void