object AlwaysAsyncExecution extends ExecutionModel with Product with Serializable
ExecutionModel that specifies a run-loop should always do async execution of tasks, forking logical threads on each step.
- Source
- ExecutionModel.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AlwaysAsyncExecution
- ExecutionModel
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
val
batchedExecutionModulus: Int
- Definition Classes
- AlwaysAsyncExecution → ExecutionModel
-
def
nextFrameIndex(current: Int): Int
Returns the next frame index in the run-loop.
Returns the next frame index in the run-loop.
For
AlwaysAsyncExecution
this function always returns zero, signaling that the next cycle in the run-loop should always be async.- Definition Classes
- AlwaysAsyncExecution → ExecutionModel
-
val
recommendedBatchSize: Int
The ExecutionModel.recommendedBatchSize for the SynchronousExecution type is set to one.
The ExecutionModel.recommendedBatchSize for the SynchronousExecution type is set to one.
- Definition Classes
- AlwaysAsyncExecution → ExecutionModel
This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomic
types, as alternative tojava.util.concurrent.atomic
monix.eval is for dealing with evaluation of results, thus exposing Task and Coeval.
monix.reactive exposes the
Observable
pattern:Observable
implementationsmonix.types implements type-class shims, to be translated to type-classes provided by libraries such as Cats or Scalaz.
monix.cats is the optional integration with the Cats library, providing translations for the types described in
monix.types
.monix.scalaz is the optional integration with the Scalaz library, providing translations for the types described in
monix.types
.