Package

monix.execution

schedulers

Permalink

package schedulers

Visibility
  1. Public
  2. All

Type Members

  1. final class AsyncScheduler extends ReferenceScheduler

    Permalink

    An AsyncScheduler schedules tasks to happen in the future with the given ScheduledExecutorService and the tasks themselves are executed on the given ExecutionContext.

  2. sealed abstract class ExecutionModel extends AnyRef

    Permalink

    Specification for run-loops, imposed by the Scheduler.

    Specification for run-loops, imposed by the Scheduler.

    When executing tasks, a run-loop can always execute tasks asynchronously (by forking logical threads), or it can always execute them synchronously (same thread and call-stack, by using an internal trampoline), or it can do a mixed mode that executes tasks in batches before forking.

    The specification is considered a recommendation for how run loops should behave, but ultimately it's up to the client to choose the best execution model. This can be related to recursive loops or to events pushed into consumers.

  3. final class ExecutorScheduler extends ReferenceScheduler

    Permalink

    An ExecutorScheduler is for building a Scheduler out of a ScheduledExecutorService.

  4. final class TestScheduler extends ReferenceScheduler

    Permalink

    A scheduler meant for testing purposes.

Value Members

  1. object AsyncScheduler

    Permalink
  2. object ExecutionModel

    Permalink
  3. object ExecutorScheduler

    Permalink
  4. object TestScheduler

    Permalink

Ungrouped