Semaphore.wait

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

struct Semaphore
@nogc nothrow
GodotError
wait
()

Meta