Event.wait

Block until the internal flag is true.

If the internal flag is true on entry, return $(D_KEYWORD true) immediately. Otherwise, block until another coroutine calls $(D_PSYMBOL set()) to set the flag to true, then return $(D_KEYWORD true).

class Event
bool
wait
()

Meta