setValue

suspend fun setValue(value: Boolean)

Sets the boolean value and notifies any waiting coroutines if the condition is satisfied.

Parameters

value

the new boolean value.