MMClock.waitUntil

Goes to sleep until the real clock catches up to the given position.

struct MMClock
bool
waitUntil
(
Duration position
)

Return Value

Type: bool

true if you're on schedule, returns false if the given position is already in the past. In that case, you might want to consider skipping some work to get back on time.

Meta