Monix: Version 2.0-RC5 Released
The fifth release candidate, re-introduces the
Cats integration, introduces new Task
operators doOnFinish
, gather
and gatherUnordered
and changes
the behavior of Task.sequence
. Also contains a critical bug fix.
See the published API Documentation.
Changes:
- Issue #89 - reintroducing a minimal
Cats integration, along with tests based on
cats-laws
. We are splittingmonix.type
into its own sub-project andmonix-cats
depends on it. This ensures that the pick what you use approach also works withmonix-cats
, as people wanting justTask
should not getObservable
, yetObservable
needs integration as well. - Issue #149 - documentation related fixes
- Improved the description of
Task
Task.unit
is now a final valTask.never
now shares the reference instead of building a new instance every time- Exposing
Task.unsafeStartNow
andTask.unsafeStartAsync
, as otherwiseTask.unsafeCreate
is useless. So we should expose all of them, or none at all. FutureUtils.Extensions.dematerialize
was named “materialize” (WTF!) and is renamed- Task should inherit just from
Serializable
and not fromProduct
- Improved the description of
- Issue #150 - add a new
Task.doOnFinish
operator that executes once a task is finished. - Issue #151 - changing
Future.sequence
to be ordered in both execution and effects - Issue #152 - introduce
Task.gather
which behaves like the previoussequence
andTask.gatherUnordered
which doesn’t do ordering for results either. - Bug 153 - Task.sequence and Task.gather return a shared mutable.ListBuffer
Enjoy!