flatMap an F[A]
to an F[B]
according to function f
with type A => F[B]
map an F[A]
to an F[B]
according to function f
with type A => B
map an F[A]
to an F[B]
, using whatever means the effect has to perform potentially blocking
operations.
map an F[A]
to an F[B]
, using whatever means the effect has to perform potentially blocking
operations. for example, the effect may choose to perform the operation in a worker thread
lift a raw value with type A
into an F[A]
execute the effects and produce a result.
execute the effects and produce a result. this is only used in the test frameworks, which need to execute effects to check the result
longevity.test
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.
the effectful type