Object/Trait

scalaz.zio.stream

Stream

Related Docs: trait Stream | package stream

Permalink

object Stream

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

Type Members

  1. type Fold[E, A, S] = IO[Nothing, (S, (S) ⇒ Boolean, (S, A) ⇒ IO[E, S]) ⇒ IO[E, S]]

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

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. final def bracket[E, A, B](acquire: IO[E, A])(release: (A) ⇒ IO[Nothing, Unit])(read: (A) ⇒ IO[E, Option[B]]): Stream[E, B]

    Permalink

    Constructs a stream from a resource that must be acquired and released.

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final val empty: Stream[Nothing, Nothing]

    Permalink

    Returns the empty stream.

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

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

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

    Permalink

    Constructs a stream that fails without emitting any values.

  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def flatten[E, A](fa: Stream[E, Stream[E, A]]): Stream[E, A]

    Permalink

    Flattens a stream of streams into a stream, by concatenating all the substreams.

  14. final def fromChunk[A](c: Chunk[A]): Stream[Nothing, A]

    Permalink
  15. final def fromIterable[A](it: Iterable[A]): Stream[Nothing, A]

    Permalink

    Constructs a pure stream from the specified Iterable.

  16. final def fromQueue[A](queue: Queue[A]): Stream[Nothing, A]

    Permalink

    Constructs an infinite stream from a Queue.

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

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

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

    Permalink
    Definition Classes
    Any
  20. final def lift[E, A](fa: IO[E, A]): Stream[E, A]

    Permalink

    Lifts an effect producing an A into a stream producing that A.

  21. final def managed[E, A, B](m: Managed[E, A])(read: (A) ⇒ IO[E, Option[B]]): Stream[E, B]

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

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

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

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

    Permalink

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

  26. final def succeed[A](a: A): Stream[Nothing, A]

    Permalink

    Constructs a singleton stream from a strict value.

  27. final def succeedLazy[A](a: ⇒ A): Stream[Nothing, A]

    Permalink

    Constructs a singleton stream from a lazy value.

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

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

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

    Permalink

    Constructs a stream from state.

  31. final def unfoldM[S, E, A](s: S)(f0: (S) ⇒ IO[E, Option[(A, S)]]): Stream[E, A]

    Permalink

    Constructs a stream from effectful state.

    Constructs a stream from effectful state. This method should not be used for resources that require safe release. See Stream.fromResource.

  32. final def unwrap[E, A](stream: IO[E, Stream[E, A]]): Stream[E, A]

    Permalink

    Unwraps a stream wrapped inside of an IO value.

  33. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped