fs2.interop.reactivestreams
package fs2.interop.reactivestreams
Type members
Classlikes
final class StreamSubscriber[F <: ([_$1] =>> Any), A](val sub: FSM[F, A])(evidence$1: ConcurrentEffect[F]) 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
final class StreamUnicastPublisher[F <: ([_$1] =>> Any), A](val stream: Stream[F, A])(evidence$1: ConcurrentEffect[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: ConcurrentEffect[F]): Stream[F, A]
Creates a lazy stream from an
org.reactivestreams.Publisher
.The publisher only receives a subscriber when the stream is run.