Home
last modified time | relevance | path

Searched refs:asyncString (Results 1 – 2 of 2) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/
Dexample-select-05.kt33 fun CoroutineScope.asyncString(str: String, time: Long) = async { in <lambda>() method
44 chan.send(asyncString("BEGIN", 100)) in <lambda>()
46 chan.send(asyncString("Slow", 500)) in <lambda>()
48 chan.send(asyncString("Replace", 100)) in <lambda>()
50 chan.send(asyncString("END", 500)) in <lambda>()
Dexample-select-04.kt12 fun CoroutineScope.asyncString(time: Int) = async { in <lambda>() method
19 return List(12) { asyncString(random.nextInt(1000)) } in asyncStringsList()