Object/Class

zio

ZManaged

Related Docs: class ZManaged | package zio

Permalink

object ZManaged extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZManaged
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class AccessMPartiallyApplied[R] extends AnyVal

    Permalink
  2. final class AccessManagedPartiallyApplied[R] extends AnyVal

    Permalink
  3. final class AccessPartiallyApplied[R] extends AnyVal

    Permalink
  4. trait FinalizerRef[R] extends AnyRef

    Permalink

    A FinalizerRef describes the finalizers associated with a scope.

  5. final class IfM[R, E] extends AnyVal

    Permalink
  6. trait PreallocationScope extends AnyRef

    Permalink
  7. final class ProvideSomeLayer[R0 <: Has[_], -R, +E, +A] extends AnyVal

    Permalink
  8. trait Scope extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object FinalizerRef

    Permalink
  5. def absolve[R, E, A](v: ZManaged[R, E, Either[E, A]]): ZManaged[R, E, A]

    Permalink

    Submerges the error case of an Either into the ZManaged.

    Submerges the error case of an Either into the ZManaged. The inverse operation of ZManaged.either.

  6. def access[R]: AccessPartiallyApplied[R]

    Permalink

    Create a managed that accesses the environment.

  7. def accessM[R]: AccessMPartiallyApplied[R]

    Permalink

    Create a managed that accesses the environment.

  8. def accessManaged[R]: AccessManagedPartiallyApplied[R]

    Permalink

    Create a managed that accesses the environment.

  9. def apply[R, E, A](reservation: ZIO[R, E, Reservation[R, E, A]]): ZManaged[R, E, A]

    Permalink

    Creates new ZManaged from wrapped Reservation.

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def collectAll[R, E, A1, A2](ms: Iterable[ZManaged[R, E, A2]]): ZManaged[R, E, List[A2]]

    Permalink

    Evaluate each effect in the structure from left to right, and collect the results.

    Evaluate each effect in the structure from left to right, and collect the results. For a parallel version, see collectAllPar.

  13. def collectAllPar[R, E, A](as: Iterable[ZManaged[R, E, A]]): ZManaged[R, E, List[A]]

    Permalink

    Evaluate each effect in the structure in parallel, and collect the results.

    Evaluate each effect in the structure in parallel, and collect the results. For a sequential version, see collectAll.

  14. def collectAllParN[R, E, A](n: Int)(as: Iterable[ZManaged[R, E, A]]): ZManaged[R, E, List[A]]

    Permalink

    Evaluate each effect in the structure in parallel, and collect the results.

    Evaluate each effect in the structure in parallel, and collect the results. For a sequential version, see collectAll.

    Unlike CollectAllPar, this method will use at most n fibers.

  15. def die(t: ⇒ Throwable): ZManaged[Any, Nothing, Nothing]

    Permalink

    Returns an effect that dies with the specified Throwable.

    Returns an effect that dies with the specified Throwable. This method can be used for terminating a fiber because a defect has been detected in the code.

  16. def dieMessage(message: ⇒ String): ZManaged[Any, Nothing, Nothing]

    Permalink

    Returns an effect that dies with a java.lang.RuntimeException having the specified text message.

    Returns an effect that dies with a java.lang.RuntimeException having the specified text message. This method can be used for terminating a fiber because a defect has been detected in the code.

  17. def done[E, A](r: ⇒ Exit[E, A]): ZManaged[Any, E, A]

    Permalink

    Returns an effect from a lazily evaluated zio.Exit value.

  18. def effectTotal[R, A](r: ⇒ A): ZManaged[R, Nothing, A]

    Permalink

    Lifts a by-name, pure value into a Managed.

  19. def environment[R]: ZManaged[R, Nothing, R]

    Permalink

    Accesses the whole environment of the effect.

  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def fail[E](error: ⇒ E): ZManaged[Any, E, Nothing]

    Permalink

    Returns an effect that models failure with the specified error.

    Returns an effect that models failure with the specified error. The moral equivalent of throw for pure code.

  23. val fiberId: ZManaged[Any, Nothing, Id]

    Permalink

    Returns an effect that succeeds with the Fiber.Id of the caller.

  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def finalizer[R](f: ZIO[R, Nothing, Any]): ZManaged[R, Nothing, Unit]

    Permalink

    Creates an effect that only executes the provided finalizer as its release action.

  26. def finalizerExit[R](f: (Exit[Any, Any]) ⇒ ZIO[R, Nothing, Any]): ZManaged[R, Nothing, Unit]

    Permalink

    Creates an effect that only executes the provided function as its release action.

  27. def finalizerRef[R](initial: (Exit[Any, Any]) ⇒ ZIO[R, Nothing, Any]): ZManaged[R, Nothing, FinalizerRef[R]]

    Permalink

    Creates an effect that executes a finalizer stored in a FinalizerRef.

    Creates an effect that executes a finalizer stored in a FinalizerRef. The FinalizerRef is yielded as the result of the effect, allowing for control flows that require mutating finalizers.

  28. def first[E, A, B]: ZManaged[(A, B), E, A]

    Permalink

    Returns an effectful function that extracts out the first element of a tuple.

  29. def flatten[R, E, A](zManaged: ZManaged[R, E, ZManaged[R, E, A]]): ZManaged[R, E, A]

    Permalink

    Returns an effect that performs the outer effect first, followed by the inner effect, yielding the value of the inner effect.

    Returns an effect that performs the outer effect first, followed by the inner effect, yielding the value of the inner effect.

    This method can be used to "flatten" nested effects.

  30. final def foreach[R, E, A1, A2](in: Option[A1])(f: (A1) ⇒ ZManaged[R, E, A2]): ZManaged[R, E, Option[A2]]

    Permalink

    Applies the function f if the argument is non-empty and returns the results in a new Option[A2].

  31. def foreach[R, E, A1, A2](as: Iterable[A1])(f: (A1) ⇒ ZManaged[R, E, A2]): ZManaged[R, E, List[A2]]

    Permalink

    Applies the function f to each element of the Iterable[A] and returns the results in a new List[B].

    Applies the function f to each element of the Iterable[A] and returns the results in a new List[B].

    For a parallel version of this method, see foreachPar.

  32. def foreachPar[R, E, A1, A2](as: Iterable[A1])(f: (A1) ⇒ ZManaged[R, E, A2]): ZManaged[R, E, List[A2]]

    Permalink

    Applies the function f to each element of the Iterable[A] in parallel, and returns the results in a new List[B].

    Applies the function f to each element of the Iterable[A] in parallel, and returns the results in a new List[B].

    For a sequential version of this method, see foreach.

  33. def foreachParN[R, E, A1, A2](n: Int)(as: Iterable[A1])(f: (A1) ⇒ ZManaged[R, E, A2]): ZManaged[R, E, List[A2]]

    Permalink

    Applies the function f to each element of the Iterable[A] in parallel, and returns the results in a new List[B].

    Applies the function f to each element of the Iterable[A] in parallel, and returns the results in a new List[B].

    Unlike foreachPar, this method will use at most up to n fibers.

  34. def foreachParN_[R, E, A](n: Int)(as: Iterable[A])(f: (A) ⇒ ZManaged[R, E, Any]): ZManaged[R, E, Unit]

    Permalink

    Applies the function f to each element of the Iterable[A] and runs produced effects in parallel, discarding the results.

    Applies the function f to each element of the Iterable[A] and runs produced effects in parallel, discarding the results.

    Unlike foreachPar_, this method will use at most up to n fibers.

  35. def foreachPar_[R, E, A](as: Iterable[A])(f: (A) ⇒ ZManaged[R, E, Any]): ZManaged[R, E, Unit]

    Permalink

    Applies the function f to each element of the Iterable[A] and runs produced effects in parallel, discarding the results.

    Applies the function f to each element of the Iterable[A] and runs produced effects in parallel, discarding the results.

    For a sequential version of this method, see foreach_.

  36. def foreach_[R, E, A](as: Iterable[A])(f: (A) ⇒ ZManaged[R, E, Any]): ZManaged[R, E, Unit]

    Permalink

    Applies the function f to each element of the Iterable[A] and runs produced effects sequentially.

    Applies the function f to each element of the Iterable[A] and runs produced effects sequentially.

    Equivalent to foreach(as)(f).unit, but without the cost of building the list of results.

  37. def fromAutoCloseable[R, E, A <: AutoCloseable](fa: ZIO[R, E, A]): ZManaged[R, E, A]

    Permalink

    Creates a ZManaged from an AutoCloseable resource.

    Creates a ZManaged from an AutoCloseable resource. The resource's close method will be used as the release action.

  38. def fromEffect[R, E, A](fa: ZIO[R, E, A]): ZManaged[R, E, A]

    Permalink

    Lifts a ZIO[R, E, A] into ZManaged[R, E, A] with no release action.

    Lifts a ZIO[R, E, A] into ZManaged[R, E, A] with no release action. The effect will be performed interruptibly.

  39. def fromEffectUninterruptible[R, E, A](fa: ZIO[R, E, A]): ZManaged[R, E, A]

    Permalink

    Lifts a ZIO[R, E, A] into ZManaged[R, E, A] with no release action.

    Lifts a ZIO[R, E, A] into ZManaged[R, E, A] with no release action. The effect will be performed uninterruptibly. You usually want the ZManaged.fromEffect variant.

  40. def fromEither[E, A](v: ⇒ Either[E, A]): ZManaged[Any, E, A]

    Permalink

    Lifts an Either into a ZManaged value.

  41. def fromFunction[R, A](f: (R) ⇒ A): ZManaged[R, Nothing, A]

    Permalink

    Lifts a function R => A into a ZManaged[R, Nothing, A].

  42. def fromFunctionM[R, E, A](f: (R) ⇒ ZManaged[Any, E, A]): ZManaged[R, E, A]

    Permalink

    Lifts an effectful function whose effect requires no environment into an effect that requires the input to the function.

  43. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  44. def halt[E](cause: ⇒ Cause[E]): ZManaged[Any, E, Nothing]

    Permalink

    Returns an effect that models failure with the specified Cause.

  45. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  46. def identity[R]: ZManaged[R, Nothing, R]

    Permalink

    Returns the identity effectful function, which performs no effects

  47. def ifM[R, E](b: ZManaged[R, E, Boolean]): IfM[R, E]

    Permalink

    Runs onTrue if the result of b is true and onFalse otherwise.

  48. val interrupt: ZManaged[Any, Nothing, Nothing]

    Permalink

    Returns an effect that is interrupted as if by the fiber calling this method.

  49. def interruptAs(fiberId: ⇒ Id): ZManaged[Any, Nothing, Nothing]

    Permalink

    Returns an effect that is interrupted as if by the specified fiber.

  50. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  51. def iterate[R, E, S](initial: S)(cont: (S) ⇒ Boolean)(body: (S) ⇒ ZManaged[R, E, S]): ZManaged[R, E, S]

    Permalink

    Iterates with the specified effectual function.

    Iterates with the specified effectual function. The moral equivalent of:

    var s = initial
    
    while (cont(s)) {
      s = body(s)
    }
    
    s
  52. def loop[R, E, A, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ ZManaged[R, E, A]): ZManaged[R, E, List[A]]

    Permalink

    Loops with the specified effectual function, collecting the results into a list.

    Loops with the specified effectual function, collecting the results into a list. The moral equivalent of:

    var s  = initial
    var as = List.empty[A]
    
    while (cont(s)) {
      as = body(s) :: as
      s  = inc(s)
    }
    
    as.reverse
  53. def loop_[R, E, S](initial: S)(cont: (S) ⇒ Boolean, inc: (S) ⇒ S)(body: (S) ⇒ ZManaged[R, E, Any]): ZManaged[R, E, Unit]

    Permalink

    Loops with the specified effectual function purely for its effects.

    Loops with the specified effectual function purely for its effects. The moral equivalent of:

    var s = initial
    
    while (cont(s)) {
      body(s)
      s = inc(s)
    }
  54. def make[R, R1 <: R, E, A](acquire: ZIO[R, E, A])(release: (A) ⇒ ZIO[R1, Nothing, Any]): ZManaged[R1, E, A]

    Permalink

    Lifts a ZIO[R, E, A] into ZManaged[R, E, A] with a release action.

    Lifts a ZIO[R, E, A] into ZManaged[R, E, A] with a release action. The acquire and release actions will be performed uninterruptibly.

  55. def makeEffect[R, A](acquire: ⇒ A)(release: (A) ⇒ Any): ZManaged[R, Throwable, A]

    Permalink

    Lifts a synchronous effect into ZManaged[R, Throwable, A] with a release action.

    Lifts a synchronous effect into ZManaged[R, Throwable, A] with a release action. The acquire and release actions will be performed uninterruptibly.

  56. def makeExit[R, E, A](acquire: ZIO[R, E, A])(release: (A, Exit[Any, Any]) ⇒ ZIO[R, Nothing, Any]): ZManaged[R, E, A]

    Permalink

    Lifts a ZIO[R, E, A] into ZManaged[R, E, A] with a release action that handles Exit.

    Lifts a ZIO[R, E, A] into ZManaged[R, E, A] with a release action that handles Exit. The acquire and release actions will be performed uninterruptibly.

  57. def makeInterruptible[R, E, A](acquire: ZIO[R, E, A])(release: (A) ⇒ ZIO[R, Nothing, Any]): ZManaged[R, E, A]

    Permalink

    Lifts a ZIO[R, E, A] into ZManaged[R, E, A] with a release action.

    Lifts a ZIO[R, E, A] into ZManaged[R, E, A] with a release action. The acquire action will be performed interruptibly, while release will be performed uninterruptibly.

  58. def mapN[R, E, A, B, C, D, F](zManaged1: ZManaged[R, E, A], zManaged2: ZManaged[R, E, B], zManaged3: ZManaged[R, E, C], zManaged4: ZManaged[R, E, D])(f: (A, B, C, D) ⇒ F): ZManaged[R, E, F]

    Permalink

    Sequentially zips the specified effects using the specified combiner function.

  59. def mapN[R, E, A, B, C, D](zManaged1: ZManaged[R, E, A], zManaged2: ZManaged[R, E, B], zManaged3: ZManaged[R, E, C])(f: (A, B, C) ⇒ D): ZManaged[R, E, D]

    Permalink

    Sequentially zips the specified effects using the specified combiner function.

  60. def mapN[R, E, A, B, C](zManaged1: ZManaged[R, E, A], zManaged2: ZManaged[R, E, B])(f: (A, B) ⇒ C): ZManaged[R, E, C]

    Permalink

    Sequentially zips the specified effects using the specified combiner function.

  61. def mapParN[R, E, A, B, C, D, F](zManaged1: ZManaged[R, E, A], zManaged2: ZManaged[R, E, B], zManaged3: ZManaged[R, E, C], zManaged4: ZManaged[R, E, D])(f: (A, B, C, D) ⇒ F): ZManaged[R, E, F]

    Permalink

    Returns an effect that executes the specified effects in parallel, combining their results with the specified f function.

    Returns an effect that executes the specified effects in parallel, combining their results with the specified f function. If any effect fails, then the other effects will be interrupted.

  62. def mapParN[R, E, A, B, C, D](zManaged1: ZManaged[R, E, A], zManaged2: ZManaged[R, E, B], zManaged3: ZManaged[R, E, C])(f: (A, B, C) ⇒ D): ZManaged[R, E, D]

    Permalink

    Returns an effect that executes the specified effects in parallel, combining their results with the specified f function.

    Returns an effect that executes the specified effects in parallel, combining their results with the specified f function. If any effect fails, then the other effects will be interrupted.

  63. def mapParN[R, E, A, B, C](zManaged1: ZManaged[R, E, A], zManaged2: ZManaged[R, E, B])(f: (A, B) ⇒ C): ZManaged[R, E, C]

    Permalink

    Returns an effect that executes the specified effects in parallel, combining their results with the specified f function.

    Returns an effect that executes the specified effects in parallel, combining their results with the specified f function. If any effect fails, then the other effects will be interrupted.

  64. def mergeAll[R, E, A, B](in: Iterable[ZManaged[R, E, A]])(zero: B)(f: (B, A) ⇒ B): ZManaged[R, E, B]

    Permalink

    Merges an Iterable[IO] to a single IO, working sequentially.

  65. def mergeAllPar[R, E, A, B](in: Iterable[ZManaged[R, E, A]])(zero: B)(f: (B, A) ⇒ B): ZManaged[R, E, B]

    Permalink

    Merges an Iterable[IO] to a single IO, working in parallel.

  66. def mergeAllParN[R, E, A, B](n: Int)(in: Iterable[ZManaged[R, E, A]])(zero: B)(f: (B, A) ⇒ B): ZManaged[R, E, B]

    Permalink

    Merges an Iterable[IO] to a single IO, working in parallel.

    Merges an Iterable[IO] to a single IO, working in parallel.

    Unlike mergeAllPar, this method will use at most up to n fibers.

    This is not implemented in terms of ZIO.foreach / ZManaged.zipWithPar as otherwise all reservation phases would always run, causing unnecessary work

  67. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  68. val never: ZManaged[Any, Nothing, Nothing]

    Permalink

    Returns a ZManaged that never acquires a resource.

  69. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  70. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  71. val preallocationScope: Managed[Nothing, PreallocationScope]

    Permalink

    Creates a scope in which resources can be safely preallocated.

  72. def reduceAll[R, E, A](a: ZManaged[R, E, A], as: Iterable[ZManaged[R, E, A]])(f: (A, A) ⇒ A): ZManaged[R, E, A]

    Permalink

    Reduces an Iterable[IO] to a single IO, working sequentially.

  73. def reduceAllPar[R, E, A](a: ZManaged[R, E, A], as: Iterable[ZManaged[R, E, A]])(f: (A, A) ⇒ A): ZManaged[R, E, A]

    Permalink

    Reduces an Iterable[IO] to a single IO, working in parallel.

  74. def reduceAllParN[R, E, A](n: Long)(a1: ZManaged[R, E, A], as: Iterable[ZManaged[R, E, A]])(f: (A, A) ⇒ A): ZManaged[R, E, A]

    Permalink

    Reduces an Iterable[IO] to a single IO, working in parallel.

    Reduces an Iterable[IO] to a single IO, working in parallel.

    Unlike mergeAllPar, this method will use at most up to n fibers.

    This is not implemented in terms of ZIO.foreach / ZManaged.zipWithPar as otherwise all reservation phases would always run, causing unnecessary work

  75. def require[R, E, A](error: ⇒ E): (ZManaged[R, E, Option[A]]) ⇒ ZManaged[R, E, A]

    Permalink

    Requires that the given ZManaged[E, Option[A]] contain a value.

    Requires that the given ZManaged[E, Option[A]] contain a value. If there is no value, then the specified error will be raised.

  76. def reserve[R, E, A](reservation: Reservation[R, E, A]): ZManaged[R, E, A]

    Permalink

    Lifts a pure Reservation[R, E, A] into ZManaged[R, E, A]

  77. def sandbox[R, E, A](v: ZManaged[R, E, A]): ZManaged[R, Cause[E], A]

    Permalink
  78. def scope: Managed[Nothing, Scope]

    Permalink

    Creates a scope in which resources can be safely allocated into together with a release action.

  79. def second[E, A, B]: ZManaged[(A, B), E, B]

    Permalink

    Returns an effectful function that extracts out the second element of a tuple.

  80. def succeed[R, A](r: ⇒ A): ZManaged[R, Nothing, A]

    Permalink

    Lifts a lazy, pure value into a Managed.

  81. def suspend[R, E, A](zManaged: ⇒ ZManaged[R, E, A]): ZManaged[R, E, A]

    Permalink

    Returns a lazily constructed Managed.

  82. def swap[E, A, B]: ZManaged[(A, B), E, (B, A)]

    Permalink

    Returns an effectful function that merely swaps the elements in a Tuple2.

  83. def switchable[R, E, A]: ZManaged[R, Nothing, (ZManaged[R, E, A]) ⇒ ZIO[R, E, A]]

    Permalink

    Returns a ZManaged value that represents a managed resource that can be safely swapped within the scope of the ZManaged.

    Returns a ZManaged value that represents a managed resource that can be safely swapped within the scope of the ZManaged. The function provided inside the ZManaged can be used to switch the resource currently in use.

    When the resource is switched, the finalizer for the previous finalizer will be executed uninterruptibly. If the effect executing inside the ZManaged#use is interrupted, the finalizer for the resource currently in use is guaranteed to execute.

    This constructor can be used to create an expressive control flow that uses several instances of a managed resource. For example:

    def makeWriter: Task[FileWriter]
    trait FileWriter {
      def write(data: Int): Task[Unit]
      def close: UIO[Unit]
    }
    
    val elements = List(1, 2, 3, 4)
    val writingProgram =
      ZManaged.switchable[Any, Throwable, FileWriter].use { switchWriter =>
        ZIO.foreach_(elements) { element =>
          for {
            writer <- switchWriter(makeWriter.toManaged(_.close))
            _      <- writer.write(element)
          } yield ()
        }
      }
  84. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  85. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  86. val unit: ZManaged[Any, Nothing, Unit]

    Permalink

    Returns the effect resulting from mapping the success of this effect to unit.

  87. def unsandbox[R, E, A](v: ZManaged[R, Cause[E], A]): ZManaged[R, E, A]

    Permalink

    The inverse operation to sandbox.

    The inverse operation to sandbox. Submerges the full cause of failure.

  88. def unwrap[R, E, A](fa: ZIO[R, E, ZManaged[R, E, A]]): ZManaged[R, E, A]

    Permalink

    Unwraps a ZManaged that is inside a ZIO.

  89. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. def when[R, E](b: ⇒ Boolean)(zManaged: ZManaged[R, E, Any]): ZManaged[R, E, Unit]

    Permalink

    The moral equivalent of if (p) exp

  93. def whenCase[R, E, A](a: ⇒ A)(pf: PartialFunction[A, ZManaged[R, E, Any]]): ZManaged[R, E, Unit]

    Permalink

    Runs an effect when the supplied PartialFunction matches for the given value, otherwise does nothing.

  94. def whenCaseM[R, E, A](a: ZManaged[R, E, A])(pf: PartialFunction[A, ZManaged[R, E, Any]]): ZManaged[R, E, Unit]

    Permalink

    Runs an effect when the supplied PartialFunction matches for the given effectful value, otherwise does nothing.

  95. def whenM[R, E](b: ZManaged[R, E, Boolean])(zManaged: ZManaged[R, E, Any]): ZManaged[R, E, Unit]

    Permalink

    The moral equivalent of if (p) exp when p has side-effects

Deprecated Value Members

  1. def sequence[R, E, A1, A2](ms: Iterable[ZManaged[R, E, A2]]): ZManaged[R, E, List[A2]]

    Permalink

    Alias for ZManaged.collectAll

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use collectAll

  2. def sequencePar[R, E, A](as: Iterable[ZManaged[R, E, A]]): ZManaged[R, E, List[A]]

    Permalink

    Alias for ZManaged.collectAllPar

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use collectAllPar

  3. def sequenceParN[R, E, A](n: Int)(as: Iterable[ZManaged[R, E, A]]): ZManaged[R, E, List[A]]

    Permalink

    Alias for ZManaged.collectAllParN

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use collectAllParN

  4. def traverse[R, E, A1, A2](as: Iterable[A1])(f: (A1) ⇒ ZManaged[R, E, A2]): ZManaged[R, E, List[A2]]

    Permalink

    Alias for ZManaged.foreach[R,E,A1,A2](as:Iterable*

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use foreach

  5. def traversePar[R, E, A1, A2](as: Iterable[A1])(f: (A1) ⇒ ZManaged[R, E, A2]): ZManaged[R, E, List[A2]]

    Permalink

    Alias for ZManaged.foreachPar

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use foreachPar

  6. def traverseParN[R, E, A1, A2](n: Int)(as: Iterable[A1])(f: (A1) ⇒ ZManaged[R, E, A2]): ZManaged[R, E, List[A2]]

    Permalink

    Alias for ZManaged.foreachParN

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use foreachParN

  7. def traverseParN_[R, E, A](n: Int)(as: Iterable[A])(f: (A) ⇒ ZManaged[R, E, Any]): ZManaged[R, E, Unit]

    Permalink

    Alias for ZManaged.foreachParN_

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use foreachParN_

  8. def traversePar_[R, E, A](as: Iterable[A])(f: (A) ⇒ ZManaged[R, E, Any]): ZManaged[R, E, Unit]

    Permalink

    Alias for ZManaged.foreachPar_

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use foreachPar_

  9. def traverse_[R, E, A](as: Iterable[A])(f: (A) ⇒ ZManaged[R, E, Any]): ZManaged[R, E, Unit]

    Permalink

    Alias for ZManaged.foreach_

    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use foreach_

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped