trait PollingTrait (View source)

Methods

float
getCurrentTimeMillis()

Protected to allow overriding for tests

sleepMillis(int $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(int $millis)

Protected to allow overriding for tests

Parameters

int $millis