Packages

implicit final class FutureNamedOps[T] extends AnyVal

Named Future operations.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FutureNamedOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FutureNamedOps(future: Future[T])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def andThenNamed[U](name: String)(pf: PartialFunction[Try[T], U])(implicit executor: ExecutionContext): Future[T]

    Named version of Future.andThen.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def collectNamed[S](name: String)(pf: PartialFunction[T, S])(implicit executor: ExecutionContext): Future[S]

    Named version of Future.collect.

  7. def disableContext(): Future[T]

    Disable any Cinnamon attached context on this Future.

    Disable any Cinnamon attached context on this Future. Can be used if the Future will be cached.

  8. def filterNamed(name: String)(p: (T) => Boolean)(implicit executor: ExecutionContext): Future[T]

    Named version of Future.filter.

  9. def flatMapNamed[S](name: String)(f: (T) => Future[S])(implicit executor: ExecutionContext): Future[S]

    Named version of Future.flatMap.

  10. def flattenNamed[S](name: String)(implicit ev: <:<[T, Future[S]]): Future[S]

    Named version of Future.flatten.

  11. def foreachNamed[U](name: String)(f: (T) => U)(implicit executor: ExecutionContext): Unit

    Named version of Future.foreach.

  12. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def mapNamed[S](name: String)(f: (T) => S)(implicit executor: ExecutionContext): Future[S]

    Named version of Future.map.

  15. def onCompleteNamed[U](name: String)(f: (Try[T]) => U)(implicit executor: ExecutionContext): Unit

    Named version of Future.onComplete.

  16. def recoverNamed[U >: T](name: String)(pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Future[U]

    Named version of Future.recover.

  17. def recoverWithNamed[U >: T](name: String)(pf: PartialFunction[Throwable, Future[U]])(implicit executor: ExecutionContext): Future[U]

    Named version of Future.recoverWith.

  18. def toString(): String
    Definition Classes
    Any
  19. def transformNamed[S](name: String)(s: (T) => S, f: (Throwable) => Throwable)(implicit executor: ExecutionContext): Future[S]

    Named version of Future.transform.

  20. def transformTryNamed[S](name: String)(f: (Try[T]) => Try[S])(implicit executor: ExecutionContext): Future[S]

    Named version of Future.transform.

  21. def transformWithNamed[S](name: String)(f: (Try[T]) => Future[S])(implicit executor: ExecutionContext): Future[S]

    Named version of Future.transformWith.

  22. def zipWithNamed[U, R](name: String)(that: Future[U])(f: (T, U) => R)(implicit executor: ExecutionContext): Future[R]

    Named version of Future.zipWith.

Inherited from AnyVal

Inherited from Any

Ungrouped