How do I run tasks in Fibers once the Fiber.schedule methods are gone?

Remi Forax forax at univ-mlv.fr
Sat Jul 20 14:14:43 UTC 2019


Hi Arek,
you can use the "background" FiberScope
  FiberScope.background().schedule(() -> "one");

cheers,
Remi 

----- Mail original -----
> De: "Arkadiusz Gasiński" <jigga at jigga.pl>
> À: "loom-dev" <loom-dev at openjdk.java.net>
> Envoyé: Samedi 20 Juillet 2019 15:54:42
> Objet: How do I run tasks in Fibers once the Fiber.schedule methods are gone?

> Hi,
> 
> As the subject line says, how shall I schedule a task to run in Fiber now
> that the static Fiber.schedule methods are no longer available?
> 
> Thanks,
> Arek


More information about the loom-dev mailing list