object Fetch

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Fetch
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[F[_], I, A](id: I, ds: DataSource[F, I, A])(implicit arg0: Concurrent[F]): Fetch[F, A]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def batchAll[F[_], A](fetches: Fetch[F, A]*)(implicit arg0: Monad[F]): Fetch[F, List[A]]

    Given a number of fetches, returns all of the results in a List.

    Given a number of fetches, returns all of the results in a List. In the event that multiple fetches are made to the same data source, this will attempt to batch them together.

    As of 3.1.x, this is functionally equivalent to using .sequence syntax from Cats on any data structure implementing Traverse.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def error[F[_], A](e: Throwable)(implicit arg0: Applicative[F]): Fetch[F, A]
  11. def exception[F[_], A](e: (Log) ⇒ FetchException)(implicit arg0: Applicative[F]): Fetch[F, A]
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def liftF[F[_], A](f: F[A])(implicit arg0: ApplicativeThrow[F]): Fetch[F, A]
  17. def liftIO[F[_], A](io: IO[A])(implicit arg0: ApplicativeThrow[F], arg1: LiftIO[F]): Fetch[F, A]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def optional[F[_], I, A](id: I, ds: DataSource[F, I, A])(implicit arg0: Concurrent[F]): Fetch[F, Option[A]]
  22. def pure[F[_], A](a: A)(implicit arg0: Applicative[F]): Fetch[F, A]

    Lift a plain value to the Fetch monad.

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

    Run a Fetch, the result in the F monad.

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

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

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

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

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

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

  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped