fs2.interop.reactivestreams

Type members

Classlikes

final class PublisherOps[A](val publisher: Publisher[A]) extends AnyVal
final class StreamOps[F <: ([_$3] =>> Any), A](val stream: Stream[F, A])
final class StreamSubscriber[F <: ([_$1] =>> Any), A](val sub: FSM[F, A], dispatcher: Dispatcher[F])(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
Companion
class
final class StreamUnicastPublisher[F <: ([_$1] =>> Any), A](val stream: Stream[F, A], dispatcher: Dispatcher[F])(evidence$1: Async[F]) extends Publisher[A]
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

Methods

def fromPublisher[F <: ([_$1] =>> Any), A](p: Publisher[A])(evidence$1: Async[F]): Stream[F, A]
Creates a lazy stream from an org.reactivestreams.Publisher.
The publisher only receives a subscriber when the stream is run.