Packages

p

longevity

effect

package effect

contains the Effect type class and instances

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

Type Members

  1. type Blocking[A] = A

    a blocking effect.

    a blocking effect. this effect will evaluate immediately and block until the result is available. this is essentially an Id type; Blocking[A] is equivalent to A.

  2. trait Effect[F[_]] extends AnyRef

    an effect type class.

    an effect type class. a monad describing how the persistence operations in longevity are processed. effects are typically found implicitly when building your LongevityContext. common effects are found within the Effect companion object.

    the methods within this trait are used internally by longevity, and are only important to users who wish to implement their own effect type classes.

    F

    the effectful type

Value Members

  1. object Effect

    contains implicit Effect implementations for common effectful classes

  2. object cats

    contains longevity.effect.Effect implementations for cats.effect.IO.

    contains longevity.effect.Effect implementations for cats.effect.IO.

    note that cats-effect is an optional library dependency in longevity, so you will have to declare the dependency yourself to use these effects.

    See also

    https://github.com/typelevel/cats-effect

Inherited from AnyRef

Inherited from Any

Ungrouped