2020-04-01 20:29:34 +02:00
|
|
|
package com.baeldung.quasar;
|
2020-03-21 15:41:40 +01:00
|
|
|
|
|
|
|
import co.paralleluniverse.fibers.Fiber;
|
|
|
|
|
|
|
|
public class App {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
new Fiber<Void>(() -> {
|
|
|
|
System.out.println("Inside fiber coroutine...");
|
|
|
|
}).start();
|
|
|
|
}
|
|
|
|
}
|