futureApplicative

given futureApplicative(using val ec: ExecutionContext): Applicative[[T] =>> Future[T]]

Value members

Concrete methods

def ap[A, B](fa: => Future[A])(ff: => Future[A => B]): Future[B]
def point[A](a: => A): Future[A]
override def toString: String
Definition Classes
Any

Inherited methods

def ap2[A, B, C](fa: => Future[A], fb: => Future[B])(f: Future[(A, B) => C]): Future[C]
Inherited from
Applicative
def ap3[A, B, C, D](fa: => Future[A], fb: => Future[B], fc: => Future[C])(f: Future[(A, B, C) => D]): Future[D]
Inherited from
Applicative
def ap4[A, B, C, D, E](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D])(f: Future[(A, B, C, D) => E]): Future[E]
Inherited from
Applicative
def ap5[A, B, C, D, E, R](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E])(f: Future[(A, B, C, D, E) => R]): Future[R]
Inherited from
Applicative
def ap6[A, B, C, D, E, FF, R](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E], ff: => Future[FF])(f: Future[(A, B, C, D, E, FF) => R]): Future[R]
Inherited from
Applicative
def ap7[A, B, C, D, E, FF, G, R](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E], ff: => Future[FF], fg: => Future[G])(f: Future[(A, B, C, D, E, FF, G) => R]): Future[R]
Inherited from
Applicative
def ap8[A, B, C, D, E, FF, G, H, R](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E], ff: => Future[FF], fg: => Future[G], fh: => Future[H])(f: Future[(A, B, C, D, E, FF, G, H) => R]): Future[R]
Inherited from
Applicative
def apply10[A, B, C, D, E, FF, G, H, I, J, R](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E], ff: => Future[FF], fg: => Future[G], fh: => Future[H], fi: => Future[I], fj: => Future[J])(f: (A, B, C, D, E, FF, G, H, I, J) => R): Future[R]
Inherited from
Applicative
def apply11[A, B, C, D, E, FF, G, H, I, J, K, R](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E], ff: => Future[FF], fg: => Future[G], fh: => Future[H], fi: => Future[I], fj: => Future[J], fk: => Future[K])(f: (A, B, C, D, E, FF, G, H, I, J, K) => R): Future[R]
Inherited from
Applicative
def apply12[A, B, C, D, E, FF, G, H, I, J, K, L, R](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E], ff: => Future[FF], fg: => Future[G], fh: => Future[H], fi: => Future[I], fj: => Future[J], fk: => Future[K], fl: => Future[L])(f: (A, B, C, D, E, FF, G, H, I, J, K, L) => R): Future[R]
Inherited from
Applicative
def apply2[A, B, C](fa: => Future[A], fb: => Future[B])(f: (A, B) => C): Future[C]
Inherited from
Applicative
def apply3[A, B, C, D](fa: => Future[A], fb: => Future[B], fc: => Future[C])(f: (A, B, C) => D): Future[D]
Inherited from
Applicative
def apply4[A, B, C, D, E](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D])(f: (A, B, C, D) => E): Future[E]
Inherited from
Applicative
def apply5[A, B, C, D, E, R](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E])(f: (A, B, C, D, E) => R): Future[R]
Inherited from
Applicative
def apply6[A, B, C, D, E, FF, R](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E], ff: => Future[FF])(f: (A, B, C, D, E, FF) => R): Future[R]
Inherited from
Applicative
def apply7[A, B, C, D, E, FF, G, R](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E], ff: => Future[FF], fg: => Future[G])(f: (A, B, C, D, E, FF, G) => R): Future[R]
Inherited from
Applicative
def apply8[A, B, C, D, E, FF, G, H, R](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E], ff: => Future[FF], fg: => Future[G], fh: => Future[H])(f: (A, B, C, D, E, FF, G, H) => R): Future[R]
Inherited from
Applicative
def apply9[A, B, C, D, E, FF, G, H, I, R](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E], ff: => Future[FF], fg: => Future[G], fh: => Future[H], fi: => Future[I])(f: (A, B, C, D, E, FF, G, H, I) => R): Future[R]
Inherited from
Applicative
def as[A, B](fa: Future[A])(b: => B): Future[B]
Inherited from
Functor
def filterM[A](l: List[A])(f: A => Future[Boolean]): Future[List[A]]

Filter l according to an applicative predicate.

Filter l according to an applicative predicate.

Inherited from
Applicative
def lift10[A, B, C, D, E, FF, G, H, I, J, R](f: (A, B, C, D, E, FF, G, H, I, J) => R): (Future[A], Future[B], Future[C], Future[D], Future[E], Future[FF], Future[G], Future[H], Future[I], Future[J]) => Future[R]
Inherited from
Applicative
def lift11[A, B, C, D, E, FF, G, H, I, J, K, R](f: (A, B, C, D, E, FF, G, H, I, J, K) => R): (Future[A], Future[B], Future[C], Future[D], Future[E], Future[FF], Future[G], Future[H], Future[I], Future[J], Future[K]) => Future[R]
Inherited from
Applicative
def lift12[A, B, C, D, E, FF, G, H, I, J, K, L, R](f: (A, B, C, D, E, FF, G, H, I, J, K, L) => R): (Future[A], Future[B], Future[C], Future[D], Future[E], Future[FF], Future[G], Future[H], Future[I], Future[J], Future[K], Future[L]) => Future[R]
Inherited from
Applicative
def lift2[A, B, C](f: (A, B) => C): (Future[A], Future[B]) => Future[C]
Inherited from
Applicative
def lift3[A, B, C, D](f: (A, B, C) => D): (Future[A], Future[B], Future[C]) => Future[D]
Inherited from
Applicative
def lift4[A, B, C, D, E](f: (A, B, C, D) => E): (Future[A], Future[B], Future[C], Future[D]) => Future[E]
Inherited from
Applicative
def lift5[A, B, C, D, E, R](f: (A, B, C, D, E) => R): (Future[A], Future[B], Future[C], Future[D], Future[E]) => Future[R]
Inherited from
Applicative
def lift6[A, B, C, D, E, FF, R](f: (A, B, C, D, E, FF) => R): (Future[A], Future[B], Future[C], Future[D], Future[E], Future[FF]) => Future[R]
Inherited from
Applicative
def lift7[A, B, C, D, E, FF, G, R](f: (A, B, C, D, E, FF, G) => R): (Future[A], Future[B], Future[C], Future[D], Future[E], Future[FF], Future[G]) => Future[R]
Inherited from
Applicative
def lift8[A, B, C, D, E, FF, G, H, R](f: (A, B, C, D, E, FF, G, H) => R): (Future[A], Future[B], Future[C], Future[D], Future[E], Future[FF], Future[G], Future[H]) => Future[R]
Inherited from
Applicative
def lift9[A, B, C, D, E, FF, G, H, I, R](f: (A, B, C, D, E, FF, G, H, I) => R): (Future[A], Future[B], Future[C], Future[D], Future[E], Future[FF], Future[G], Future[H], Future[I]) => Future[R]
Inherited from
Applicative
override def map[A, B](fa: Future[A])(f: A => B): Future[B]
Definition Classes
Inherited from
Applicative
final def pure[A](a: => A): Future[A]
Inherited from
Applicative
def sequence[A, G[_]](as: G[Future[A]])(using evidence$1: Traverse[G]): Future[G[A]]
Inherited from
Applicative
def traverse[A, G[_], B](value: G[A])(f: A => Future[B])(using G: Traverse[G]): Future[G[B]]
Inherited from
Applicative
def tuple2[A, B](fa: => Future[A], fb: => Future[B]): Future[(A, B)]
Inherited from
Applicative
def tuple3[A, B, C](fa: => Future[A], fb: => Future[B], fc: => Future[C]): Future[(A, B, C)]
Inherited from
Applicative
def tuple4[A, B, C, D](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D]): Future[(A, B, C, D)]
Inherited from
Applicative
def tuple5[A, B, C, D, E](fa: => Future[A], fb: => Future[B], fc: => Future[C], fd: => Future[D], fe: => Future[E]): Future[(A, B, C, D, E)]
Inherited from
Applicative
def unless[A](cond: Boolean)(f: => Future[A]): Future[Unit]

Returns the given argument if cond is false, otherwise, unit lifted into F.

Returns the given argument if cond is false, otherwise, unit lifted into F.

Inherited from
Applicative
def void[A](fa: Future[A]): Future[Unit]
Inherited from
Functor
def when[A](cond: Boolean)(f: => Future[A]): Future[Unit]

Returns the given argument if cond is true, otherwise, unit lifted into F.

Returns the given argument if cond is true, otherwise, unit lifted into F.

Inherited from
Applicative
def xmap[A, B](fa: Future[A], f: A => B, g: B => A): Future[B]
Inherited from
Functor

Concrete fields

protected val ec: ExecutionContext