The type of the result of the condition.
Initializes a new instance of the TimeoutWaiter class.
The type of the result of the condition.
{() => T | Promise
{number} The timeout in milliseconds. If omitted, the timeout is zero, implying the check will execute once.
{number[]} An array of the intervals in milliseconds to poll at. If omitted, the default interval of 100ms is used.
Waiter that polls for a condition to be met, with a timeout. It allows for custom intervals for polling to be used.