package effect
- Alphabetic
- By Inheritance
- effect
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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 toA
. -
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
-
object
Effect
contains implicit
Effect
implementations for common effectful classes -
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.