Semaphore.wait

Tries to wait for the Semaphore, if its value is zero, blocks until non-zero. Returns constant OK on success, constant ERR_BUSY otherwise.

struct Semaphore
@nogc nothrow
GodotError
wait
()

Meta