eff 3.1.0
This version brings some breaking API changes for async effects in order to make them compatible with ScalaJS.
Changes
-
TimedFuture
,TwitterTimedFuture
, scalazTimedTask
, fs2TimedTask
now use aorg.atnos.eff.Scheduler
instead of aScheduledExecutorService
to
timeout computations -
a
Scheduler
can be created from aScheduledExecutorService
with theExecutorServices.schedulerFromScheduledExecutorService
method for the JVM -
a
Scheduler
can be created with theorg.atnos.eff.Schedulers.default
method for ScalaJS -
the monix
Task
effect is now directly using themonix.eval.Task
type instead of using aTimedTask
type before.
The API stays the same except for stacks declarations which are nowFx.fx1[Task]
instead ofFx.fx1[TimedTask]