Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactorings across the board #210

merged 5 commits into from Aug 17, 2016


None yet
1 participant
Copy link

alexandru commented Aug 17, 2016

The monix-execution sub-project:

  • introduce the CallbackRunnable interface for marking
    Runnable instances that could be executed on the current
    thread, on a local trampoline, as an optimization
  • introduce LocalBatchingExecutor, a mixin for schedulers
    that can execute CallbackRunnable locally
  • make AsyncScheduler on the JVM be able to execute
    CallbackRunnable instances by inheriting from
  • fixed critical bug in CompositeCancelable that
    was introduced in the last release

The monix-eval sub-project:

  • optimized Task.fromFuture to the point that it has near zero overhead
  • optimized Task.gather, Task.gatherUnordered, Task.sequence
  • optimized the Task trampoline in general
  • introduce Callback.async wrapper and asyncApply extension method
  • renamed Task.zipWith to Task.zipMap (rename across the board)
  • added Task.executeOn for overriding the Scheduler
  • added Task.fork overload with a scheduler override
  • added Task.async as an alias of Task.create

The monix-types sub-project:

  • moved all shims to monix.types.shims
  • add Deferrable type-class
  • add Evaluable type-class

The monix-reactive project:

  • for foldLeft methods, make the seed be just a normal
    by-name parameter instead of a Coeval, because otherwise
    it isn't compatible with other type-classes / interfaces
  • affected methods are foldLeft, foldLeftAsync
  • rename zipWith to zipMap
  • rename combineLatestWith to combineLatestMap
  • add Observable.fromAsyncStateAction
  • fix Consumer.foldLeftAsync

alexandru added some commits Aug 17, 2016

@alexandru alexandru merged commit ddfce55 into master Aug 17, 2016

0 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
continuous-integration/travis-ci/push The Travis CI build is in progress

@alexandru alexandru deleted the wip-refactorings branch Nov 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.