object Subscriber extends Serializable
- Source
 - Subscriber.scala
 
- Alphabetic
 - By Inheritance
 
- Subscriber
 - Serializable
 - Serializable
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Type Members
- 
      
      
      
        
      
    
      
        implicit final 
        class
      
      
        
              Extensions
            [T] extends AnyVal
      
      
      
Extension methods for Subscriber.
 - 
      
      
      
        
      
    
      
        
        trait
      
      
        
              Sync
            [-T] extends Subscriber[T] with Observer.Sync[T]
      
      
      
A
Subscriber.Syncis a Subscriber whoseonNextsignal is synchronous (i.e.A
Subscriber.Syncis a Subscriber whoseonNextsignal is synchronous (i.e. the upstream observable doesn't need to wait on aFuturein order to decide whether to send the next event or not). 
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        apply[T](observer: Observer[T], scheduler: Scheduler): Subscriber[T]
      
      
      
Subscriber builder
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        canceled[A](implicit s: Scheduler): Sync[A]
      
      
      
Helper for building an empty subscriber that doesn't do anything, but that returns
StopononNext. - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        dump[A](prefix: String, out: PrintStream = System.out)(implicit s: Scheduler): Sync[A]
      
      
      
Builds an Subscriber that just logs incoming events.
 - 
      
      
      
        
      
    
      
        
        def
      
      
        empty[A](implicit s: Scheduler): Sync[A]
      
      
      
Helper for building an empty subscriber that doesn't do anything, besides logging errors in case they happen.
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( classOf[java.lang.Throwable] )
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        fromReactiveSubscriber[T](subscriber: org.reactivestreams.Subscriber[T], subscription: Cancelable)(implicit s: Scheduler): Subscriber[T]
      
      
      
Given an
org.reactivestreams.Subscriberas defined by the Reactive Streams specification, it builds an Subscriber instance compliant with the Monix Rx implementation. - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toReactiveSubscriber[T](source: Subscriber[T], bufferSize: Int): org.reactivestreams.Subscriber[T]
      
      
      
Transforms the source Subscriber into a
org.reactivestreams.Subscriberinstance as defined by the Reactive Streams specification.Transforms the source Subscriber into a
org.reactivestreams.Subscriberinstance as defined by the Reactive Streams specification.- bufferSize
 a strictly positive number, representing the size of the buffer used and the number of elements requested on each cycle when communicating demand, compliant with the reactive streams specification
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toReactiveSubscriber[T](subscriber: Subscriber[T]): org.reactivestreams.Subscriber[T]
      
      
      
Transforms the source Subscriber into a
org.reactivestreams.Subscriberinstance as defined by the Reactive Streams specification. - 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 -  object Sync extends Serializable
 

This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomictypes, as alternative tojava.util.concurrent.atomicmonix.eval is for dealing with evaluation of results, thus exposing Task and Coeval.
monix.reactive exposes the
Observablepattern:Observableimplementationsmonix.types implements type-class shims, to be translated to type-classes provided by libraries such as Cats or Scalaz.
monix.cats is the optional integration with the Cats library, providing translations for the types described in
monix.types.monix.scalaz is the optional integration with the Scalaz library, providing translations for the types described in
monix.types.