toggle menu
libnexakotlin
0.3.5
common
switch theme
search in API
libnexakotlin
/
org.nexa.libnexakotlin
/
CoCond
Co
Cond
class
CoCond
<
T
>
(
val
scope
:
CoroutineScope
)
Behaves like a condition, but for co-routines
Members
Constructors
Co
Cond
Link copied to clipboard
constructor
(
scope
:
CoroutineScope
)
Properties
ch
Link copied to clipboard
val
ch
:
Channel
<
T
>
scope
Link copied to clipboard
val
scope
:
CoroutineScope
Functions
wake
Link copied to clipboard
fun
wake
(
obj
:
T
)
yield
Link copied to clipboard
suspend
fun
yield
(
until
:
(
T
)
->
Boolean
?
=
null
,
timeout
:
Int
=
Int.MAX_VALUE
)
:
T
?