set

fun set(value: T)

Sets the value and notifies waiting coroutines. It does not suspend, so any thread can call it.

Parameters

value

the new value.