Package

monix.execution

rstreams

Permalink

package rstreams

Package exposing utilities for working with the Reactive Streams specification.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. rstreams
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class ReactivePullStrategy extends Product with Serializable

    Permalink

    Describes a strategy of buffering data when converting a Publisher into other data types like monix.tail.Iterant.

    Describes a strategy of buffering data when converting a Publisher into other data types like monix.tail.Iterant.

    To override a strategy, provide it as an implicit:

    implicit val pullStrategy: ReactivePullStrategy = ReactivePullStrategy.Batched(256)
    
    // The call will use strategy defined above
    Iterant[Task].fromReactivePublisher(publisher)
  2. final class SingleAssignSubscription extends Subscription

    Permalink

    Represents a org.reactivestreams.Subscription that can be assigned only once to another subscription reference.

    Represents a org.reactivestreams.Subscription that can be assigned only once to another subscription reference.

    If the assignment happens after this subscription has been canceled, then on assignment the reference will get canceled too. If the assignment after request(n) has been called on this subscription, then request(n) will get called immediately on the assigned reference as well.

    Useful in case you need a thread-safe forward reference.

  3. trait Subscription extends org.reactivestreams.Subscription with Cancelable

    Permalink

    The Subscription represents a cross between the Monix Cancelable and org.reactivestreams.Subcription.

    The Subscription represents a cross between the Monix Cancelable and org.reactivestreams.Subcription.

    Represents a one-to-one lifecycle of a Subscriber subscribing to a Publisher and mirrors the Subscription interface from the Reactive Streams specification.

    It can be used only once by a single Subscriber. It is used for both signaling demand for data and for canceling demand (and allow resource cleanup).

  4. type SingleAssignmentSubscription = SingleAssignSubscription

    Permalink

    DEPRECATED — renamed to SingleAssignSubscription.

    DEPRECATED — renamed to SingleAssignSubscription.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Renamed to SingleAssignSubscription

Deprecated Value Members

  1. val SingleAssignmentSubscription: SingleAssignSubscription.type

    Permalink

    DEPRECATED — renamed to SingleAssignSubscription.

    DEPRECATED — renamed to SingleAssignSubscription.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Renamed to SingleAssignSubscription

Inherited from AnyRef

Inherited from Any

Ungrouped