StreamSubscriber

final class StreamSubscriber[F[_], A](val sub: FSM[F, A])(implicit F: ApplicativeError[F, Throwable]) extends Subscriber[A]

Implementation of a org.reactivestreams.Subscriber.

This is used to obtain a fs2.Stream from an upstream reactivestreams system.

See also:
Companion:
object
Source:
StreamSubscriber.scala
trait Subscriber[A]
class Object
trait Matchable
class Any

Value members

Deprecated constructors

@deprecated("Use a constructor without dispatcher instead", "3.1.4")
def this(sub: FSM[F, A], dispatcher: Dispatcher[F])(implicit F: ApplicativeError[F, Throwable])
Deprecated
Source:
StreamSubscriber.scala

Concrete methods

Called by an upstream reactivestreams system

Called by an upstream reactivestreams system

Source:
StreamSubscriber.scala

Called by an upstream reactivestreams system

Called by an upstream reactivestreams system

Source:
StreamSubscriber.scala
def onNext(a: A): Unit

Called by an upstream reactivestreams system

Called by an upstream reactivestreams system

Source:
StreamSubscriber.scala
def onSubscribe(s: Subscription): Unit

Called by an upstream reactivestreams system

Called by an upstream reactivestreams system

Source:
StreamSubscriber.scala
def stream(subscribe: F[Unit]): Stream[F, A]

Concrete fields

val sub: FSM[F, A]