public static < V > V runInFiber ( FiberScheduler scheduler , SuspendableCallable < V > target ) throws ExecutionException , InterruptedException { return FiberUtil . runInFiber ( scheduler , target ) ; }
Runs an action in a new fiber awaits the fiber s termination and returns its result .