implicit final class Extensions extends AnyVal
Ordering
- Alphabetic
- By Inheritance
Inherited
- Extensions
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Extensions(self: SchedulerService)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def awaitTermination(timeout: FiniteDuration)(implicit permit: CanBlock): Boolean
A blocking version of SchedulerService.awaitTermination that blocks the current thread.
A blocking version of SchedulerService.awaitTermination that blocks the current thread.
Due to requiring a CanBlock permit, calls to this function want compile on top of JavaScript, since blocking operations are not supported for JS engines.
- def awaitTermination(timeout: FiniteDuration, awaitOn: ExecutionContext): Future[Boolean]
Overload of SchedulerService.awaitTermination.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val self: SchedulerService
- def toString(): String
- Definition Classes
- Any
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.catnap exposes pure abstractions built on top of the Cats-Effect type classes:
monix.eval is for dealing with evaluation of results, thus exposing Task and Coeval.
monix.reactive exposes the
Observable
pattern:Observable
implementationsmonix.tail exposes Iterant for purely functional pull based streaming:
Batch
andBatchCursor
, the alternatives to Scala'sIterable
andIterator
respectively that we are using within Iterant's encodingYou can control evaluation with type you choose - be it Task, Coeval, cats.effect.IO or your own as long as you provide correct cats-effect or cats typeclass instance.