Class

zio.managed

ZManagedZStreamCompanionSyntax

Related Doc: package managed

Permalink

implicit final class ZManagedZStreamCompanionSyntax extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZManagedZStreamCompanionSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ZManagedZStreamCompanionSyntax(self: ZStream.type)

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def fromChunkHubManaged[O](hub: ⇒ Hub[Chunk[O]])(implicit trace: ZTraceElement): ZManaged[Any, Nothing, ZStream[Any, Nothing, O]]

    Permalink

    Creates a stream from a subscription to a hub in the context of a managed effect.

    Creates a stream from a subscription to a hub in the context of a managed effect. The managed effect describes subscribing to receive messages from the hub while the stream describes taking messages from the hub.

  6. def fromChunkHubManagedWithShutdown[O](hub: ⇒ Hub[Chunk[O]])(implicit trace: ZTraceElement): ZManaged[Any, Nothing, ZStream[Any, Nothing, O]]

    Permalink

    Creates a stream from a subscription to a hub in the context of a managed effect.

    Creates a stream from a subscription to a hub in the context of a managed effect. The managed effect describes subscribing to receive messages from the hub while the stream describes taking messages from the hub.

    The hub will be shut down once the stream is closed.

  7. def fromHubManaged[A](hub: ⇒ Hub[A], maxChunkSize: ⇒ Int = ZStream.DefaultChunkSize)(implicit trace: ZTraceElement): ZManaged[Any, Nothing, ZStream[Any, Nothing, A]]

    Permalink

    Creates a stream from a subscription to a hub in the context of a managed effect.

    Creates a stream from a subscription to a hub in the context of a managed effect. The managed effect describes subscribing to receive messages from the hub while the stream describes taking messages from the hub.

  8. def fromHubManagedWithShutdown[A](hub: ⇒ Hub[A], maxChunkSize: ⇒ Int = ZStream.DefaultChunkSize)(implicit trace: ZTraceElement): ZManaged[Any, Nothing, ZStream[Any, Nothing, A]]

    Permalink

    Creates a stream from a subscription to a hub in the context of a managed effect.

    Creates a stream from a subscription to a hub in the context of a managed effect. The managed effect describes subscribing to receive messages from the hub while the stream describes taking messages from the hub.

    The hub will be shut down once the stream is closed.

  9. def fromInputStreamManaged[R](is: ⇒ ZManaged[R, IOException, InputStream], chunkSize: ⇒ Int = ZStream.DefaultChunkSize)(implicit trace: ZTraceElement): ZStream[R, IOException, Byte]

    Permalink

    Creates a stream from a managed java.io.InputStream value.

  10. def fromIteratorManaged[R, A](iterator: ⇒ ZManaged[R, Throwable, Iterator[A]], maxChunkSize: ⇒ Int = ZStream.DefaultChunkSize)(implicit trace: ZTraceElement): ZStream[R, Throwable, A]

    Permalink

    Creates a stream from a managed iterator

  11. def fromJavaIteratorManaged[R, A](iterator: ⇒ ZManaged[R, Throwable, Iterator[A]])(implicit trace: ZTraceElement): ZStream[R, Throwable, A]

    Permalink

    Creates a stream from a managed iterator

  12. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def managed[R, E, A](managed: ⇒ ZManaged[R, E, A])(implicit trace: ZTraceElement): ZStream[R, E, A]

    Permalink
  15. def toString(): String

    Permalink
    Definition Classes
    Any
  16. def unwrapScoped[R, E, A](fa: ⇒ ZManaged[R, E, ZStream[R, E, A]])(implicit trace: ZTraceElement): ZStream[R, E, A]

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped