trait PollingTrait (View source)

Methods

float
getCurrentTimeMillis()

Protected to allow overriding for tests

sleepMillis(float $millis)

Protected to allow overriding for tests

Details

protected float getCurrentTimeMillis()

Protected to allow overriding for tests

Return Value

float

Current time in milliseconds

protected sleepMillis(float $millis)

Protected to allow overriding for tests

Parameters

float $millis