Copied!
  • internal
Trait
Methods
protected getCurrentTimeMillis()
 

Protected to allow overriding for tests

  • return float Current time in milliseconds
protected sleepMillis(int $millis)
 

Protected to allow overriding for tests

  • param int $millis
Methods
private poll(callable $pollCallable, array $options)
 
  • param callable $pollCallable The call to poll. Must return a boolean indicating whether the operation has completed, and the polling loop can be terminated.
  • param array $options { Options for configuring the polling behaviour.
    @type int $initialPollDelayMillis The initial polling interval to use, in milliseconds.
    @type int $pollDelayMultiplier Multiplier applied to the polling interval on each retry.
    @type int $maxPollDelayMillis The maximum polling interval to use, in milliseconds.
    @type int $totalPollTimeoutMillis The maximum amount of time to continue polling, in milliseconds.
    
    }
  • return bool
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration