trait Stream_Functions extends Serializable
- Alphabetic
- By Inheritance
- Stream_Functions
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- abstract type ConformsR[A]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def apply[A](as: A*): Stream[Nothing, A]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
bracket[R, E, A, B](acquire: ZIO[R, E, A])(release: (A) ⇒ UIO[Unit])(read: (A) ⇒ ZIO[R, E, Option[B]])(implicit arg0: ConformsR[R]): ZStream[R, E, B]
Constructs a stream from a resource that must be acquired and released.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
val
empty: Stream[Nothing, Nothing]
Returns the empty stream.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
fail[E](error: E): Stream[E, Nothing]
Constructs a stream that fails without emitting any values.
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
flatten[R, E, A](fa: ZStream[R, E, ZStream[R, E, A]])(implicit arg0: ConformsR[R]): ZStream[R, E, A]
Flattens a stream of streams into a stream, by concatenating all the substreams.
- final def fromChunk[A](c: Chunk[A]): Stream[Nothing, A]
-
final
def
fromEffect[R, E, A](fa: ZIO[R, E, A])(implicit arg0: ConformsR[R]): ZStream[R, E, A]
Lifts an effect producing an
Ainto a stream producing thatA. -
final
def
fromIterable[A](it: Iterable[A]): Stream[Nothing, A]
Constructs a pure stream from the specified
Iterable. - final def fromQueue[RB, EB, B](queue: Queue2[_, _, RB, EB, _, B])(implicit arg0: ConformsR[RB]): ZStream[RB, EB, B]
-
final
def
fromQueue[A](queue: Queue[A]): Stream[Nothing, A]
Constructs an infinite stream from a
Queue2. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def managed[R, E, A, B](m: ZManaged[R, E, A])(read: (A) ⇒ ZIO[R, E, Option[B]])(implicit arg0: ConformsR[R]): ZStream[R, E, B]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
val
never: Stream[Nothing, Nothing]
Returns a stream that emits nothing and never ends.
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
range(min: Int, max: Int): Stream[Nothing, Int]
Constructs a stream from a range of integers (inclusive).
-
final
def
succeed[A](a: A): Stream[Nothing, A]
Constructs a singleton stream from a strict value.
-
final
def
succeedLazy[A](a: ⇒ A): Stream[Nothing, A]
Constructs a singleton stream from a lazy value.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
unfold[S, A](s: S)(f0: (S) ⇒ Option[(A, S)]): Stream[Nothing, A]
Constructs a stream from state.
-
final
def
unfoldM[R, S, E, A](s: S)(f0: (S) ⇒ ZIO[R, E, Option[(A, S)]])(implicit arg0: ConformsR[R]): ZStream[R, 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. -
final
def
unwrap[R, E, A](stream: ZIO[R, E, ZStream[R, E, A]])(implicit arg0: ConformsR[R]): ZStream[R, E, A]
Unwraps a stream wrapped inside of an
IOvalue. -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )