conditionTimedWait

open fun conditionTimedWait(condition: <Error class: unknown class>, timeoutUs: <Error class: unknown class>, cancellable: Cancellable? = null): <Error class: unknown class><Boolean>

Waits for up to @timeout_us microseconds for @condition to become true on @socket. If the condition is met, true is returned.

If @cancellable is cancelled before the condition is met, or if

Return

true if the condition was met, false otherwise

Since

2.32

Parameters

condition

a #GIOCondition mask to wait for

timeoutUs

the maximum time (in microseconds) to wait, or -1

cancellable

a #GCancellable, or null