Packages

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]]

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

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

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

    Returns the empty stream.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def fail[E](error: E): Stream[E, Nothing]

    Constructs a stream that fails without emitting any values.

  12. def finalize(): Unit
    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]

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

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

    Constructs a pure stream from the specified Iterable.

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

    Constructs an infinite stream from a Queue.

  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def lift[E, A](fa: IO[E, A]): Stream[E, A]

    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]
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def range(min: Int, max: Int): Stream[Nothing, Int]

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

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

    Constructs a singleton stream from a strict value.

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

    Constructs a singleton stream from a lazy value.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def unfold[S, A](s: S)(f0: (S) ⇒ Option[(A, S)]): Stream[Nothing, A]

    Constructs a stream from state.

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

    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]

    Unwraps a stream wrapped inside of an IO value.

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

Inherited from AnyRef

Inherited from Any

Ungrouped