trait
Retryable[T[_]] extends Async[T]
Abstract Value Members
-
abstract
def
apply[A](a: ⇒ A): T[A]
-
abstract
def
complete[A](promise: Promise[A], a: T[A]): Unit
-
abstract
def
createSerial(): Serial[T]
-
abstract
def
executionContext: ExecutionContext
-
abstract
def
failure[A](exception: Throwable): T[A]
-
abstract
def
flatMap[A, B](fa: T[A])(f: (A) ⇒ T[B]): T[B]
-
abstract
def
foreach[A](a: T[A])(f: (A) ⇒ Unit): Unit
-
abstract
def
fromFuture[A](a: Future[A]): T[A]
-
abstract
def
fromIO[E, A](a: IO[E, A])(implicit arg0: ExceptionHandler[E]): T[A]
-
abstract
def
fromPromise[A](a: Promise[A]): T[A]
-
abstract
def
isComplete[A](a: T[A]): Boolean
-
abstract
def
map[A, B](a: T[A])(f: (A) ⇒ B): T[B]
-
abstract
def
none[A]: T[Option[A]]
-
abstract
def
success[A](value: A): T[A]
-
abstract
def
suspend[B](f: ⇒ T[B]): T[B]
-
abstract
def
transform[A, B](a: T[A])(f: (A) ⇒ B): T[B]
-
abstract
def
unit: T[Unit]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
isIncomplete[A](a: T[A]): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toBag[X[_]](implicit transfer: Transfer[T, X]): Async[X]
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Reserved for Bags that have the ability to check is T.isComplete or not.
zio.Task and monix.Task do not have this ability but scala.Future does.
isComplete is required to add stack-safe read retries if there were failures like async closed files during reads etc.