implicit final class sinkToSubscriber[R, E <: Throwable, A0, A, B] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- sinkToSubscriber
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val sink: ZSink[R, E, A0, A, B]
-
def
toString(): String
- Definition Classes
- Any
-
def
toSubscriber(qSize: Int = 16): ZIO[R, Nothing, (Subscriber[A], Task[B])]
Create a
Subscriberfrom aSink.Create a
Subscriberfrom aSink. Returns a subscriber producing to the Sink and aTaskof the value produced by the Sink or any error either produced by the Sink or signaled to the subscriber.- qSize
The size used as internal buffer. If possible, set to a power of 2 value for best performance.