trait ZStreamPlatformSpecificConstructors extends AnyRef
- Alphabetic
- By Inheritance
- ZStreamPlatformSpecificConstructors
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
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 asInstanceOf[T0]: T0
- Definition Classes
- Any
- def async[R, E, A](register: (Emit[R, E, A, Future[Boolean]]) => Unit, outputBuffer: => Int = 16)(implicit trace: ZTraceElement): ZStream[R, E, A]
Creates a stream from an asynchronous callback that can be called multiple times.
Creates a stream from an asynchronous callback that can be called multiple times. The optionality of the error type
Ecan be used to signal the end of the stream, by setting it toNone. - def asyncInterrupt[R, E, A](register: (Emit[R, E, A, Future[Boolean]]) => Either[Canceler[R], ZStream[R, E, A]], outputBuffer: => Int = 16)(implicit trace: ZTraceElement): ZStream[R, E, A]
Creates a stream from an asynchronous callback that can be called multiple times.
Creates a stream from an asynchronous callback that can be called multiple times. The registration of the callback returns either a canceler or synchronously returns a stream. The optionality of the error type
Ecan be used to signal the end of the stream, by setting it toNone. - def asyncManaged[R, E, A](register: ((ZIO[R, Option[E], Chunk[A]]) => Future[Boolean]) => ZManaged[R, E, Any], outputBuffer: => Int = 16)(implicit trace: ZTraceElement): ZStream[R, E, A]
Creates a stream from an asynchronous callback that can be called multiple times.
Creates a stream from an asynchronous callback that can be called multiple times. The registration of the callback itself returns an a managed resource. The optionality of the error type
Ecan be used to signal the end of the stream, by setting it toNone. - def asyncMaybe[R, E, A](register: (Emit[R, E, A, Future[Boolean]]) => Option[ZStream[R, E, A]], outputBuffer: => Int = 16)(implicit trace: ZTraceElement): ZStream[R, E, A]
Creates a stream from an asynchronous callback that can be called multiple times.
Creates a stream from an asynchronous callback that can be called multiple times. The registration of the callback can possibly return the stream synchronously. The optionality of the error type
Ecan be used to signal the end of the stream, by setting it toNone. - def asyncZIO[R, E, A](register: (Emit[R, E, A, Future[Boolean]]) => ZIO[R, E, Any], outputBuffer: => Int = 16)(implicit trace: ZTraceElement): ZStream[R, E, A]
Creates a stream from an asynchronous callback that can be called multiple times The registration of the callback itself returns an effect.
Creates a stream from an asynchronous callback that can be called multiple times The registration of the callback itself returns an effect. The optionality of the error type
Ecan be used to signal the end of the stream, by setting it toNone. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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 ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def effectAsync[R, E, A](register: (Emit[R, E, A, Future[Boolean]]) => Unit, outputBuffer: => Int = 16)(implicit trace: ZTraceElement): ZStream[R, E, A]
Creates a stream from an asynchronous callback that can be called multiple times.
Creates a stream from an asynchronous callback that can be called multiple times. The optionality of the error type
Ecan be used to signal the end of the stream, by setting it toNone.- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use async
- def effectAsyncInterrupt[R, E, A](register: (Emit[R, E, A, Future[Boolean]]) => Either[Canceler[R], ZStream[R, E, A]], outputBuffer: => Int = 16)(implicit trace: ZTraceElement): ZStream[R, E, A]
Creates a stream from an asynchronous callback that can be called multiple times.
Creates a stream from an asynchronous callback that can be called multiple times. The registration of the callback returns either a canceler or synchronously returns a stream. The optionality of the error type
Ecan be used to signal the end of the stream, by setting it toNone.- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncInterrupt
- def effectAsyncM[R, E, A](register: (Emit[R, E, A, Future[Boolean]]) => ZIO[R, E, Any], outputBuffer: => Int = 16)(implicit trace: ZTraceElement): ZStream[R, E, A]
Creates a stream from an asynchronous callback that can be called multiple times The registration of the callback itself returns an effect.
Creates a stream from an asynchronous callback that can be called multiple times The registration of the callback itself returns an effect. The optionality of the error type
Ecan be used to signal the end of the stream, by setting it toNone.- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncZIO
- def effectAsyncMaybe[R, E, A](register: (Emit[R, E, A, Future[Boolean]]) => Option[ZStream[R, E, A]], outputBuffer: => Int = 16)(implicit trace: ZTraceElement): ZStream[R, E, A]
Creates a stream from an asynchronous callback that can be called multiple times.
Creates a stream from an asynchronous callback that can be called multiple times. The registration of the callback can possibly return the stream synchronously. The optionality of the error type
Ecan be used to signal the end of the stream, by setting it toNone.- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use asyncMaybe