Searched refs:asyncString (Results 1 – 2 of 2) sorted by relevance
33 fun CoroutineScope.asyncString(str: String, time: Long) = async { in <lambda>() method44 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>()
12 fun CoroutineScope.asyncString(time: Int) = async { in <lambda>() method19 return List(12) { asyncString(random.nextInt(1000)) } in asyncStringsList()