Timeout

trait Timeout

Applies a timeout to effects

Just a thin wrapper around ZIO's retry mechanisms for easy composition with other Policys.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def apply[R, E, A](task: ZIO[R, E, A]): ZIO[R, TimeoutError[E], A]

Concrete methods

def toPolicy: Policy[Any]