object Features extends Serializable
- Source
- Features.scala
- Alphabetic
- By Inheritance
- Features
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type Flag = compat.Features.Flag
Encodes a feature flag, stored as a
Long.Encodes a feature flag, stored as a
Long.Note that feature flags should be powers of 2, because they'll get added to the set via bitwise arithmetic.
Example:
val RED = Features.flag(1) val GREEN = Features.flag(2) val BLUE = Features.flag(4) val WHITE = Features.flag(8)
You can wrap a
Longinto aFlagvia flag. - trait FlagTag extends Any
Encoding for the newtype we're defining, used to make Flag and Flags type safe (instead of usage of
Long), but without the boxing.Encoding for the newtype we're defining, used to make Flag and Flags type safe (instead of usage of
Long), but without the boxing.Inspired by the alexknvl/newtypes project.
- type Flags = compat.Features.Flags
Encodes a set of Flag values.
Encodes a set of Flag values.
Internally this is still a
Long, but has its own type for type safety reasons. - trait FlagsTag extends Any
Encoding for the newtype we're defining, used to make Flag and Flags type safe (instead of usage of
Long), but without the boxing.Encoding for the newtype we're defining, used to make Flag and Flags type safe (instead of usage of
Long), but without the boxing.Inspired by the alexknvl/newtypes project.

This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomictypes, as alternative tojava.util.concurrent.atomicmonix.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
Observablepattern:Observableimplementationsmonix.tail exposes Iterant for purely functional pull based streaming:
BatchandBatchCursor, the alternatives to Scala'sIterableandIteratorrespectively 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.