Object/Trait

zio.stream

ZChannel

Related Docs: trait ZChannel | package stream

Permalink

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. All

Type Members

  1. sealed trait ChildExecutorDecision extends AnyRef

    Permalink
  2. final class EnvironmentWithChannelPartiallyApplied[Env] extends AnyVal

    Permalink
  3. final class EnvironmentWithPartiallyApplied[Env] extends AnyVal

    Permalink
  4. final class EnvironmentWithZIOPartiallyApplied[Env] extends AnyVal

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

    Permalink
  6. sealed trait MergeStrategy extends AnyRef

    Permalink
  7. final class ProvideSomeLayer[Env0, -Env, -InErr, -InElem, -InDone, +OutErr, +OutElem, +OutDone] extends AnyVal

    Permalink
  8. final class ServiceAtPartiallyApplied[Service] extends AnyVal

    Permalink
  9. final class ServiceWithChannelPartiallyApplied[Service] extends AnyVal

    Permalink
  10. final class ServiceWithPartiallyApplied[Service] extends AnyVal

    Permalink
  11. final class ServiceWithZIOPartiallyApplied[Service] extends AnyVal

    Permalink
  12. final class UpdateService[-Env, -InErr, -InElem, -InDone, +OutErr, +OutElem, +OutDone, Service] extends AnyVal

    Permalink
  13. final class UpdateServiceAt[-Env, -InErr, -InElem, -InDone, +OutErr, +OutElem, +OutDone, Service] extends AnyVal

    Permalink
  14. sealed trait UpstreamPullRequest[+A] extends AnyRef

    Permalink
  15. sealed trait UpstreamPullStrategy[+A] 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 ChildExecutorDecision

    Permalink
  5. object MergeDecision

    Permalink
  6. object MergeStrategy

    Permalink
  7. object UpstreamPullRequest

    Permalink
  8. object UpstreamPullStrategy

    Permalink
  9. 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])(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem2, OutDone]

    Permalink
  10. def acquireReleaseOutExitWith[Env, OutErr, Acquired](acquire: ⇒ ZIO[Env, OutErr, Acquired])(release: (Acquired, Exit[Any, Any]) ⇒ URIO[Env, Any])(implicit trace: ZTraceElement): ZChannel[Env, Any, Any, Any, OutErr, Acquired, Unit]

    Permalink
  11. def acquireReleaseOutWith[Env, OutErr, Acquired](acquire: ⇒ ZIO[Env, OutErr, Acquired])(release: (Acquired) ⇒ URIO[Env, Any])(implicit trace: ZTraceElement): ZChannel[Env, Any, Any, Any, OutErr, Acquired, Unit]

    Permalink
  12. 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])(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem2, OutDone]

    Permalink
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def buffer[InErr, InElem, InDone](empty: ⇒ InElem, isEmpty: (InElem) ⇒ Boolean, ref: ⇒ Ref[InElem])(implicit trace: ZTraceElement): ZChannel[Any, InErr, InElem, InDone, InErr, InElem, InDone]

    Permalink

    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.

  15. def bufferChunk[InErr, InElem, InDone](ref: ⇒ Ref[Chunk[InElem]])(implicit trace: ZTraceElement): ZChannel[Any, InErr, Chunk[InElem], InDone, InErr, Chunk[InElem], InDone]

    Permalink
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. 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])(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, Any]

    Permalink
  18. 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)(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone3]

    Permalink
  19. def environment[Env](implicit trace: ZTraceElement): ZChannel[Env, Any, Any, Any, Nothing, Nothing, ZEnvironment[Env]]

    Permalink

    Accesses the whole environment of the channel.

  20. def environmentWith[Env]: EnvironmentWithPartiallyApplied[Env]

    Permalink

    Accesses the environment of the channel.

  21. def environmentWithChannel[Env]: EnvironmentWithChannelPartiallyApplied[Env]

    Permalink

    Accesses the environment of the channel in the context of a channel.

  22. def environmentWithZIO[Env]: EnvironmentWithZIOPartiallyApplied[Env]

    Permalink

    Accesses the environment of the channel in the context of an effect.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. def fail[E](e: ⇒ E)(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, E, Nothing, Nothing]

    Permalink
  26. def failCause[E](cause: ⇒ Cause[E])(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, E, Nothing, Nothing]

    Permalink
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def fromEither[E, A](either: ⇒ Either[E, A])(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, E, Nothing, A]

    Permalink
  29. def fromHub[Err, Done, Elem](hub: ⇒ Hub[Either[Exit[Err, Done], Elem]])(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, Err, Elem, Done]

    Permalink
  30. def fromHubManaged[Err, Done, Elem](hub: ⇒ Hub[Either[Exit[Err, Done], Elem]])(implicit trace: ZTraceElement): ZManaged[Any, Nothing, ZChannel[Any, Any, Any, Any, Err, Elem, Done]]

    Permalink
  31. def fromInput[Err, Elem, Done](input: ⇒ AsyncInputConsumer[Err, Elem, Done])(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, Err, Elem, Done]

    Permalink
  32. def fromOption[A](option: ⇒ Option[A])(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, None.type, Nothing, A]

    Permalink
  33. def fromQueue[Err, Done, Elem](queue: ⇒ Dequeue[Either[Exit[Err, Done], Elem]])(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, Err, Elem, Done]

    Permalink
  34. def fromZIO[R, E, A](zio: ⇒ ZIO[R, E, A])(implicit trace: ZTraceElement): ZChannel[R, Any, Any, Any, E, Nothing, A]

    Permalink
  35. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  36. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  37. def identity[Err, Elem, Done](implicit trace: ZTraceElement): ZChannel[Any, Err, Elem, Done, Err, Elem, Done]

    Permalink
  38. def interrupt(fiberId: ⇒ FiberId)(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, Nothing, Nothing, Nothing]

    Permalink
  39. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  40. 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])(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]

    Permalink
  41. def managedOut[R, E, A](m: ⇒ ZManaged[R, E, A])(implicit trace: ZTraceElement): ZChannel[R, Any, Any, Any, E, A, Any]

    Permalink
  42. 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: ⇒ Int, bufferSize: ⇒ Int = 16, mergeStrategy: ⇒ MergeStrategy = MergeStrategy.BackPressure)(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, Any]

    Permalink
  43. def mergeAllUnbounded[Env, InErr, InElem, InDone, OutErr, OutElem](channels: ⇒ ZChannel[Env, InErr, InElem, InDone, OutErr, ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, Any], Any])(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, Any]

    Permalink
  44. 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)(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]

    Permalink
  45. 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: ⇒ Int, bufferSize: ⇒ Int = 16, mergeStrategy: ⇒ MergeStrategy = MergeStrategy.BackPressure)(f: (OutDone, OutDone) ⇒ OutDone)(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]

    Permalink
  46. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  47. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  49. def provideLayer[Env0, Env, Env1, InErr, InElem, InDone, OutErr, OutElem, OutDone](layer: ZLayer[Env0, OutErr, Env])(channel: ⇒ ZChannel[Env with Env1, InErr, InElem, InDone, OutErr, OutElem, OutDone])(implicit ev: zio.EnvironmentTag[Env], tag: zio.EnvironmentTag[Env1], trace: ZTraceElement): ZChannel[Env0 with Env1, InErr, InElem, InDone, OutErr, OutElem, OutDone]

    Permalink
  50. def read[In](implicit trace: ZTraceElement): ZChannel[Any, Any, In, Any, None.type, Nothing, In]

    Permalink
  51. def readOrFail[E, In](e: ⇒ E)(implicit trace: ZTraceElement): ZChannel[Any, Any, In, Any, E, Nothing, In]

    Permalink
  52. 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])(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]

    Permalink
  53. 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])(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]

    Permalink
  54. def service[Service](implicit arg0: Tag[Service], trace: ZTraceElement): ZChannel[Service, Any, Any, Any, Nothing, Nothing, Service]

    Permalink

    Accesses the specified service in the environment of the channel.

  55. def serviceAt[Service]: ServiceAtPartiallyApplied[Service]

    Permalink

    Accesses the service corresponding to the specified key in the environment.

  56. def serviceWith[Service]: ServiceWithPartiallyApplied[Service]

    Permalink

    Accesses the specified service in the environment of the channel.

  57. def serviceWithChannel[Service]: ServiceWithChannelPartiallyApplied[Service]

    Permalink

    Accesses the specified service in the environment of the channel in the context of a channel.

  58. def serviceWithZIO[Service]: ServiceWithZIOPartiallyApplied[Service]

    Permalink

    Accesses the specified service in the environment of the channel in the context of an effect.

  59. def succeed[Z](z: ⇒ Z)(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, Nothing, Nothing, Z]

    Permalink
  60. def succeedNow[Z](result: Z)(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, Nothing, Nothing, Z]

    Permalink
  61. def succeedWith[R, Z](f: (ZEnvironment[R]) ⇒ Z)(implicit trace: ZTraceElement): ZChannel[R, Any, Any, Any, Nothing, Nothing, Z]

    Permalink
  62. def suspend[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone](channel: ⇒ ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]

    Permalink

    Returns a lazily constructed channel.

  63. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  64. def toHub[Err, Done, Elem](hub: ⇒ Hub[Either[Exit[Err, Done], Elem]])(implicit trace: ZTraceElement): ZChannel[Any, Err, Elem, Done, Nothing, Nothing, Any]

    Permalink
  65. def toQueue[Err, Done, Elem](queue: ⇒ Enqueue[Either[Exit[Err, Done], Elem]])(implicit trace: ZTraceElement): ZChannel[Any, Err, Elem, Done, Nothing, Nothing, Any]

    Permalink
  66. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  67. val unit: ZChannel[Any, Any, Any, Any, Nothing, Nothing, Unit]

    Permalink
  68. def unwrap[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone](channel: ⇒ ZIO[Env, OutErr, ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]])(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]

    Permalink
  69. def unwrapManaged[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone](channel: ⇒ ZManaged[Env, OutErr, ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]])(implicit trace: ZTraceElement): ZChannel[Env, InErr, InElem, InDone, OutErr, OutElem, OutDone]

    Permalink
  70. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. def write[Out](out: Out)(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, Nothing, Out, Unit]

    Permalink
  74. def writeAll[Out](outs: Out*)(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, Nothing, Out, Unit]

    Permalink
  75. def writeChunk[Out](outs: Chunk[Out])(implicit trace: ZTraceElement): ZChannel[Any, Any, Any, Any, Nothing, Out, Unit]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped