Packages

object ZChannel

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZChannel
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed abstract class MergeDecision[-R, -E0, -Z0, +E, +Z] extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def acquireReleaseExitWith[Env, InErr, InElem, InDone, OutErr, Acquired, OutElem2, OutDone](acquire: ZIO[Env, OutErr, Acquired])(release: (Acquired, Exit[OutErr, OutDone]) => URIO[Env, Any])(use: (Acquired) => ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem2, OutDone]): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem2, OutDone]
  5. def acquireReleaseOutExitWith[Env, OutErr, Acquired](acquire: ZIO[Env, OutErr, Acquired])(release: (Acquired, Exit[Any, Any]) => URIO[Env, Any]): ZChannel[Env, Any, Any, Any, OutErr, Acquired, Unit]
  6. def acquireReleaseOutWith[Env, OutErr, Acquired](acquire: ZIO[Env, OutErr, Acquired])(release: (Acquired) => URIO[Env, Any]): ZChannel[Env, Any, Any, Any, OutErr, Acquired, Unit]
  7. def acquireReleaseWith[Env, InErr, InElem, InDone, OutErr, Acquired, OutElem2, OutDone](acquire: ZIO[Env, OutErr, Acquired])(release: (Acquired) => URIO[Env, Any])(use: (Acquired) => ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem2, OutDone]): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem2, OutDone]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def buffer[InErr, InElem, InDone](empty: InElem, isEmpty: (InElem) => Boolean, ref: Ref[InElem]): ZChannel[Any, InErr, InElem, InDone, InErr, InElem, InDone]

    Creates a channel backed by a buffer.

    Creates a channel backed by a buffer. When the buffer is empty, the channel will simply passthrough its input as output. However, when the buffer is non-empty, the value inside the buffer will be passed along as output.

  10. def bufferChunk[InErr, InElem, InDone](ref: Ref[Chunk[InElem]]): ZChannel[Any, InErr, Chunk[InElem], InDone, InErr, Chunk[InElem], InDone]
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def concatAll[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone](channels: ZChannel[Env, InErr, InElem, InDone, OutErr, ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, Any], Any]): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, Any]
  13. def concatAllWith[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone, OutDone2, OutDone3](channels: ZChannel[Env, InErr, InElem, InDone, OutErr, ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone], OutDone2])(f: (OutDone, OutDone) => OutDone, g: (OutDone, OutDone2) => OutDone3): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone3]
  14. def end[Z](result: => Z): ZChannel[Any, Any, Any, Any, Nothing, Nothing, Z]
  15. def endWith[R, Z](f: (R) => Z): ZChannel[R, Any, Any, Any, Nothing, Nothing, Z]
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def fail[E](e: => E): ZChannel[Any, Any, Any, Any, E, Nothing, Nothing]
  19. def failCause[E](cause: => Cause[E]): ZChannel[Any, Any, Any, Any, E, Nothing, Nothing]
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def fromEither[E, A](either: Either[E, A]): ZChannel[Any, Any, Any, Any, E, Nothing, A]
  22. def fromHub[Err, Done, Elem](hub: Hub[Exit[Either[Err, Done], Elem]]): ZChannel[Any, Any, Any, Any, Err, Elem, Done]
  23. def fromInput[Err, Elem, Done](input: AsyncInputConsumer[Err, Elem, Done]): ZChannel[Any, Any, Any, Any, Err, Elem, Done]
  24. def fromOption[A](option: Option[A]): ZChannel[Any, Any, Any, Any, None.type, Nothing, A]
  25. def fromQueue[Err, Done, Elem](queue: Dequeue[Exit[Either[Err, Done], Elem]]): ZChannel[Any, Any, Any, Any, Err, Elem, Done]
  26. def fromZIO[R, E, A](zio: ZIO[R, E, A]): ZChannel[R, Any, Any, Any, E, Nothing, A]
  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def identity[Err, Elem, Done]: ZChannel[Any, Err, Elem, Done, Err, Elem, Done]
  30. def interrupt(fiberId: Id): ZChannel[Any, Any, Any, Any, Nothing, Nothing, Nothing]
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def managed[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone, A](m: ZManaged[Env, OutErr, A])(use: (A) => ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]
  33. def managedOut[R, E, A](m: ZManaged[R, E, A]): ZChannel[R, Any, Any, Any, E, A, Any]
  34. def mergeAll[Env, InErr, InElem, InDone, OutErr, OutElem](channels: ZChannel[Env, InErr, InElem, InDone, OutErr, ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, Any], Any], n: Long): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, Any]
  35. def mergeAllUnbounded[Env, InErr, InElem, InDone, OutErr, OutElem](channels: ZChannel[Env, InErr, InElem, InDone, OutErr, ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, Any], Any]): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, Any]
  36. def mergeAllUnboundedWith[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone](channels: ZChannel[Env, InErr, InElem, InDone, OutErr, ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone], OutDone])(f: (OutDone, OutDone) => OutDone): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]
  37. def mergeAllWith[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone](channels: ZChannel[Env, InErr, InElem, InDone, OutErr, ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone], OutDone], n: Long)(f: (OutDone, OutDone) => OutDone): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. def read[In]: ZChannel[Any, Any, In, Any, None.type, Nothing, In]
  42. def readOrFail[E, In](e: E): ZChannel[Any, Any, In, Any, E, Nothing, In]
  43. def readWith[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone](in: (InElem) => ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone], error: (InErr) => ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone], done: (InDone) => ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]
  44. def readWithCause[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone](in: (InElem) => ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone], halt: (Cause[InErr]) => ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone], done: (InDone) => ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]
  45. def succeed[Z](z: => Z): ZChannel[Any, Any, Any, Any, Nothing, Nothing, Z]
  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. def toHub[Err, Done, Elem](hub: Hub[Exit[Either[Err, Done], Elem]]): ZChannel[Any, Err, Elem, Done, Nothing, Nothing, Any]
  48. def toQueue[Err, Done, Elem](queue: Enqueue[Exit[Either[Err, Done], Elem]]): ZChannel[Any, Err, Elem, Done, Nothing, Nothing, Any]
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. val unit: ZChannel[Any, Any, Any, Any, Nothing, Nothing, Unit]
  51. def unwrap[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone](channel: ZIO[Env, OutErr, ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]]): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]
  52. def unwrapManaged[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone](channel: ZManaged[Env, OutErr, ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]]): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  56. def write[Out](out: Out): ZChannel[Any, Any, Any, Any, Nothing, Out, Unit]
  57. def writeAll[Out](outs: Out*): ZChannel[Any, Any, Any, Any, Nothing, Out, Unit]
  58. def writeChunk[Out](outs: Chunk[Out]): ZChannel[Any, Any, Any, Any, Nothing, Out, Unit]
  59. object Fold extends Serializable
  60. object MergeDecision

Inherited from AnyRef

Inherited from Any

Ungrouped