Sleep.completed

bool completed() @property const pure @safe nothrow @nogc

Reports whether the sleep has completed.

Returns

true if the sleep duration has elapsed.