pub unsafe extern "C" fn udsWaitConnectionStatusEvent(
    nextEvent: bool,
    wait: bool
) -> bool
Expand description

Waits for the ConnectionStatus event to occur, or checks if the event was signaled. This event is signaled when the data from udsGetConnectionStatus() was updated internally.

§Returns

Always true. However if wait=false, this will return false if the event wasn’t signaled.

§Arguments

  • nextEvent - Whether to discard the current event and wait for the next event.
  • wait - When true this will not return until the event is signaled. When false this checks if the event was signaled without waiting for it.