Packages

p

monix.bio

instances

package instances

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. instances
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class CatsAsyncForTask extends CatsBaseForTask[Throwable] with Async[Task]

    Cats type class instance of Task for cats.effect.Async and CoflatMap (and implicitly for Applicative, Monad, MonadError, etc).

    Cats type class instance of Task for cats.effect.Async and CoflatMap (and implicitly for Applicative, Monad, MonadError, etc).

    References:

  2. class CatsBaseForTask[E] extends MonadError[[β$0$]IO[E, β$0$], E] with CoflatMap[[β$1$]IO[E, β$1$]] with SemigroupK[[β$2$]IO[E, β$2$]] with Bifunctor[IO]

    Cats type class instances for Task for cats.MonadError, CoflatMap, SemigroupK and Bifunctor (and implicitly for Applicative, Monad, etc).

    Cats type class instances for Task for cats.MonadError, CoflatMap, SemigroupK and Bifunctor (and implicitly for Applicative, Monad, etc).

    References:

  3. class CatsConcurrentEffectForTask extends CatsEffectForTask with ConcurrentEffect[Task]

    Cats type class instances of IO for cats.effect.ConcurrentEffect.

    Cats type class instances of IO for cats.effect.ConcurrentEffect.

    Note this is a separate class from CatsConcurrentForTask, because we need an implicit Scheduler in scope in order to trigger the execution of a Task. However we cannot inherit directly from CatsConcurrentForTask, because it would create conflicts due to that one having a higher priority but being a super-type.

    References:

  4. class CatsConcurrentForTask extends CatsAsyncForTask with Concurrent[Task]

    Cats type class instance of IO for cats.effect.Concurrent.

    Cats type class instance of IO for cats.effect.Concurrent.

    References:

  5. class CatsEffectForTask extends CatsBaseForTask[Throwable] with Effect[Task]

    Cats type class instances of IO for cats.effect.Effect (and implicitly for Applicative, Monad, MonadError, Sync, etc).

    Cats type class instances of IO for cats.effect.Effect (and implicitly for Applicative, Monad, MonadError, Sync, etc).

    Note this is a separate class from CatsAsyncForTask, because we need an implicit Scheduler in scope in order to trigger the execution of a Task. However we cannot inherit directly from CatsAsyncForTask, because it would create conflicts due to that one having a higher priority but being a super-type.

    References:

  6. class CatsMonadToMonoid[F[_], A] extends CatsMonadToSemigroup[F, A] with Monoid[F[A]]

    Given that A has a cats.Semigroup implementation, this builds a Semigroup[F[A]] instance for any F[_] data type that implements cats.Monad.

    Given that A has a cats.Semigroup implementation, this builds a Semigroup[F[A]] instance for any F[_] data type that implements cats.Monad.

    Used for IO.

    NOTE: nothing in this implementation is specific to Monix or to cats-effect, but these instances are not provided by default by Cats for any monad, probably because they aren't useful for every monad.

  7. class CatsMonadToSemigroup[F[_], A] extends Semigroup[F[A]]

    Given that A has a cats.Monoid implementation, this builds a Semigroup[F[A]] instance for any F[_] data type that implements cats.effect.Sync.

    Given that A has a cats.Monoid implementation, this builds a Semigroup[F[A]] instance for any F[_] data type that implements cats.effect.Sync.

    Used for IO.

    NOTE: nothing in this implementation is specific to Monix or to cats-effect, but these instances are not provided by default by Cats for any monad, probably because they aren't useful for every monad.

  8. class CatsParallelForTask[E] extends Parallel[[β$0$]IO[E, β$0$]]

    cats.Parallel type class instance for IO.

    cats.Parallel type class instance for IO.

    A cats.Parallel instances means that Task can be used for processing tasks in parallel (with non-deterministic effects ordering).

    References:

Value Members

  1. object CatsConcurrentForTask extends CatsConcurrentForTask

    Default and reusable instance for CatsConcurrentForTask.

    Default and reusable instance for CatsConcurrentForTask.

    Globally available in scope, as it is returned by IO.catsAsync.

Inherited from AnyRef

Inherited from Any

Ungrouped