CoroutineTest
scalation.simulation.CoroutineTest
object CoroutineTest
The CoroutineTest
object is used to test the Coroutine
class. Should print: start coroutines Cor1: phase 1 inside Cor1 the id is 22 isVirtual true VirtualThread[#22]/runnable@ForkJoinPool-1-worker-1 Cor2: phase 1 inside Cor2 the id is 26 isVirtual true VirtualThread[#26]/runnable@ForkJoinPool-1-worker-3 Cor1: phase 2 Cor2: phase 2
runMain scalation.simulation.runCoroutineTest
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CoroutineTest.type
Members list
In this article