C# Класс HermaFx.Utils.BackoffWaiter

I can help you wait, especially if you want to wait e.g. for some kind of increasing amount of time.
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

BackoffWaiter() публичный Метод

public BackoffWaiter ( ) : System
Результат System

Reset() публичный Метод

Resets the backoff helper which means that waiting will start over from the beginning of the sequence of wait times
public Reset ( ) : void
Результат void

Wait() публичный Метод

Waits the time specified next in the sequence
public Wait ( ) : void
Результат void

Wait() публичный Метод

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
Результат void