fs2.interop.reactivestreams

Type members

Classlikes

final class PublisherOps[A](val publisher: Publisher[A]) extends AnyVal
final class StreamOps[F[_], A](val stream: Stream[F, A])
final class StreamSubscriber[F[_], A](val sub: FSM[F, A], dispatcher: Dispatcher[F])(F: ApplicativeError[F, Throwable]) extends Subscriber[A]

Implementation of a org.reactivestreams.Subscriber.

Implementation of a org.reactivestreams.Subscriber.

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

See also
Companion
object
Companion
class
final class StreamUnicastPublisher[F[_], A](val stream: Stream[F, A], dispatcher: Dispatcher[F])(`evidence$1`: Async[F]) extends Publisher[A]

Implementation of a org.reactivestreams.Publisher

Implementation of a org.reactivestreams.Publisher

This is used to publish elements from a fs2.Stream to a downstream reactivestreams system.

See also
Companion
object

Value members

Concrete methods

def fromPublisher[F[_], A](p: Publisher[A])(`evidence$1`: Async[F]): Stream[F, A]

Creates a lazy stream from an org.reactivestreams.Publisher.

Creates a lazy stream from an org.reactivestreams.Publisher.

The publisher only receives a subscriber when the stream is run.