Trait

zio.stream

Stream_Functions

Related Doc: package stream

Permalink

trait Stream_Functions extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Stream_Functions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type ConformsR[A]

    Permalink

Abstract Value Members

  1. implicit abstract val ConformsAnyProof: ConformsR[Any]

    Permalink

Concrete 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. final def apply[A](as: A*): ZStream[Any, Nothing, A]

    Permalink

    Creates a pure stream from a variable list of values

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. final def bracket[R, E, A](acquire: ZIO[R, E, A])(release: (A) ⇒ ZIO[R, Nothing, _])(implicit arg0: ConformsR[R]): ZStream[R, E, A]

    Permalink

    Creates a stream from a single value that will get cleaned up after the stream is consumed

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def die(ex: Throwable): ZStream[Any, Nothing, Nothing]

    Permalink

    The stream that always dies with ex.

  9. final def dieMessage(msg: String): ZStream[Any, Nothing, Nothing]

    Permalink

    The stream that always dies with an exception described by msg.

  10. final val empty: ZStream[Any, Nothing, Nothing]

    Permalink

    The empty stream

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def fail[E](error: E): ZStream[Any, E, Nothing]

    Permalink

    The stream that always fails with error

  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def finalizer[R](finalizer: ZIO[R, Nothing, _])(implicit arg0: ConformsR[R]): ZStream[R, Nothing, Nothing]

    Permalink

    Creates a stream that emits no elements, never fails and executes the finalizer before it ends.

  16. final def flatten[R, E, A](fa: ZStream[R, E, ZStream[R, E, A]])(implicit arg0: ConformsR[R]): ZStream[R, E, A]

    Permalink

    Flattens nested streams.

  17. final def flattenPar[R, E, A](n: Long, outputBuffer: Int = 16)(fa: ZStream[R, E, ZStream[R, E, A]])(implicit arg0: ConformsR[R]): ZStream[R, E, A]

    Permalink

    Flattens a stream of streams into a stream by executing a non-deterministic concurrent merge.

    Flattens a stream of streams into a stream by executing a non-deterministic concurrent merge. Up to n streams may be consumed in parallel and up to outputBuffer elements may be buffered by this operator.

  18. final def fromChunk[A](c: Chunk[A]): ZStream[Any, Nothing, A]

    Permalink

    Creates a stream from a zio.Chunk of values

  19. final def fromEffect[R, E, A](fa: ZIO[R, E, A])(implicit arg0: ConformsR[R]): ZStream[R, E, A]

    Permalink

    Creates a stream from an effect producing a value of type A

  20. final def fromIterable[A](as: Iterable[A]): ZStream[Any, Nothing, A]

    Permalink

    Creates a stream from an iterable collection of values

  21. final def fromQueue[R, E, A](queue: ZQueue[_, _, R, E, _, A])(implicit arg0: ConformsR[R]): ZStream[R, E, A]

    Permalink

    Creates a stream from a zio.ZQueue of values

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def halt[E](cause: Cause[E]): ZStream[Any, E, Nothing]

    Permalink

    The stream that always halts with cause.

  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. final def managed[R, E, A](managed: ZManaged[R, E, A])(implicit arg0: ConformsR[R]): ZStream[R, E, A]

    Permalink

    Creates a single-valued stream from a managed resource

  27. final def mergeAll[R, E, A](n: Long, outputBuffer: Int = 16)(streams: ZStream[R, E, A]*)(implicit arg0: ConformsR[R]): ZStream[R, E, A]

    Permalink

    Merges a variable list of streams in a non-deterministic fashion.

    Merges a variable list of streams in a non-deterministic fashion. Up to n streams may be consumed in parallel and up to outputBuffer elements may be buffered by this operator.

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

    Permalink
    Definition Classes
    AnyRef
  29. final val never: ZStream[Any, Nothing, Nothing]

    Permalink

    The stream that never produces any value or fails with any error.

  30. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  32. final def range(min: Int, max: Int): Stream[Nothing, Int]

    Permalink

    Constructs a stream from a range of integers (inclusive).

  33. final def succeed[A](a: A): ZStream[Any, Nothing, A]

    Permalink

    Creates a single-valued pure stream

  34. final def succeedLazy[A](a: ⇒ A): ZStream[Any, Nothing, A]

    Permalink

    Creates a single, lazily-evaluated-valued pure stream

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  37. final def unfold[S, A](s: S)(f0: (S) ⇒ Option[(A, S)]): ZStream[Any, Nothing, A]

    Permalink

    Creates a stream by peeling off the "layers" of a value of type S

  38. final def unfoldM[R, E, A, S](s: S)(f0: (S) ⇒ ZIO[R, E, Option[(A, S)]])(implicit arg0: ConformsR[R]): ZStream[R, E, A]

    Permalink

    Creates a stream by effectfully peeling off the "layers" of a value of type S

  39. final def unwrap[R, E, A](fa: ZIO[R, E, ZStream[R, E, A]])(implicit arg0: ConformsR[R]): ZStream[R, E, A]

    Permalink

    Creates a stream produced from an effect

  40. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped