Package java.dyn
Class Coroutine
- java.lang.Object
-
- java.dyn.CoroutineBase
-
- java.dyn.Coroutine
-
public class Coroutine extends CoroutineBase
Mock version of same class from Lukas Stadler's coro work.
-
-
Constructor Summary
Constructors Constructor Description Coroutine()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CoroutineBase
current()
protected void
run()
static void
yieldTo(Coroutine coro)
-
-
-
Method Detail
-
current
public static CoroutineBase current()
-
yieldTo
public static void yieldTo(Coroutine coro)
-
run
protected void run()
-
-