pub unsafe extern "C" fn LightEvent_WaitTimeout(
    event: *mut LightEvent,
    timeout_ns: s64
) -> c_int
Expand description

Waits on a light event until either the event is signaled or the timeout is reached.

§Arguments

  • event - Pointer to the event.
  • timeout_ns - Timeout in nanoseconds.

§Returns

Non-zero on timeout, zero otherwise.