StreamSubscriber

fs2.interop.reactivestreams.StreamSubscriber
See theStreamSubscriber companion object
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.

Attributes

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

Members list

Value members

Deprecated constructors

def this(sub: FSM[F, A], dispatcher: Dispatcher[F])(implicit F: ApplicativeError[F, Throwable])

Attributes

Deprecated
true
Source
StreamSubscriber.scala

Concrete methods

def onComplete(): Unit

Called by an upstream reactivestreams system

Called by an upstream reactivestreams system

Attributes

Source
StreamSubscriber.scala

Called by an upstream reactivestreams system

Called by an upstream reactivestreams system

Attributes

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

Called by an upstream reactivestreams system

Called by an upstream reactivestreams system

Attributes

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

Called by an upstream reactivestreams system

Called by an upstream reactivestreams system

Attributes

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

Attributes

Source
StreamSubscriber.scala

Concrete fields

val sub: FSM[F, A]

Attributes

Source
StreamSubscriber.scala