object BooleanCancelable extends Serializable
- Source
- BooleanCancelable.scala
- Alphabetic
- By Inheritance
- BooleanCancelable
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
val
alreadyCanceled: BooleanCancelable
Returns an instance of a BooleanCancelable that's already canceled.
-
def
apply(callback: () ⇒ Unit): BooleanCancelable
Builder for BooleanCancelable.
Builder for BooleanCancelable.
- callback
is a function that will execute exactly once on canceling.
-
def
apply(): BooleanCancelable
Builder for BooleanCancelable.
-
final
val
dummy: BooleanCancelable
Returns a BooleanCancelable that can never be canceled.
Returns a BooleanCancelable that can never be canceled.
Useful as a low-overhead instance whose
isCanceled
value is alwaysfalse
, thus similar in spirit with alreadyCanceled.
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
.