conditionWait

open fun conditionWait(condition: <Error class: unknown class>, timeout: Long, cancellable: Cancellable? = null): <Error class: unknown class><Boolean>

Waits for up to @timeout microseconds for condition to become true on

Return

true if the condition was met, false otherwise

Since

2.48

Parameters

condition

a #GIOCondition mask to wait for

timeout

the maximum time (in microseconds) to wait, 0 to not block, or -1 to block indefinitely

cancellable

a #GCancellable