Fetch

object Fetch
Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def apply[F[_], I, A](id: I, ds: DataSource[F, I, A])(`evidence$8`: Concurrent[F]): Fetch[F, A]
def error[F[_], A](e: Throwable)(`evidence$7`: Applicative[F]): Fetch[F, A]
def exception[F[_], A](e: Log => FetchException)(`evidence$6`: Applicative[F]): Fetch[F, A]
def liftF[F[_], A](f: F[A])(`evidence$12`: ApplicativeThrow[F]): Fetch[F, A]
def liftIO[F[_], A](io: IO[A])(`evidence$10`: ApplicativeThrow[F], `evidence$11`: LiftIO[F]): Fetch[F, A]
def optional[F[_], I, A](id: I, ds: DataSource[F, I, A])(`evidence$9`: Concurrent[F]): Fetch[F, Option[A]]
def pure[F[_], A](a: A)(`evidence$5`: Applicative[F]): Fetch[F, A]

Lift a plain value to the Fetch monad.

Lift a plain value to the Fetch monad.

def run[F[_]]: FetchRunner[F]

Run a Fetch, the result in the F monad.

Run a Fetch, the result in the F monad.

def runAll[F[_]]: FetchRunnerAll[F]

Run a Fetch getting the log, cache and result in the F monad.

Run a Fetch getting the log, cache and result in the F monad.

def runCache[F[_]]: FetchRunnerCache[F]

Run a Fetch, the cache and the result in the F monad.

Run a Fetch, the cache and the result in the F monad.

def runLog[F[_]]: FetchRunnerLog[F]

Run a Fetch, the log and the result in the F monad.

Run a Fetch, the log and the result in the F monad.