Builds a new Subscriber that can be subscribed to an Observable for consuming a stream, with a callback that should eventually get called with a materialized result.
Builds a new Subscriber that can be subscribed to an Observable for consuming a stream, with a callback that should eventually get called with a materialized result.
Notes:
Task returned by apply
   loses the ability to cancel the stream, as that Task will
   complete before the stream is finished
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      Given a source Observable, convert it into a Task by piggybacking on createSubscriber.
Given a source Observable, convert it into a Task by piggybacking on createSubscriber.
      
    
      
      
    
      
      
    
      
      
    
      Given a contravariant mapping function, transform the source consumer by transforming the input.
Given a contravariant mapping function, transform the source consumer by transforming the input.
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      Given a mapping function, when consuming a stream, applies the mapping function to the final result, thus modifying the output of the source consumer.
Given a mapping function, when consuming a stream, applies the mapping function to the final result, thus modifying the output of the source consumer.
Note that for applying the mapping function an
asynchronous boundary is forced, otherwise it could
trigger a stack overflow exception. For more efficient
mapping of the result, it's probably better to map
the resulting Task on Observable.runWith.
      
    
      Given a mapping function, when consuming a stream, applies the mapping function to the final result, thus modifying the output of the source consumer.
Given a mapping function, when consuming a stream, applies the mapping function to the final result, thus modifying the output of the source consumer.
The mapping function returns a Task that can be used to process results asynchronously.
Note that for applying the mapping function an
asynchronous boundary is forced, otherwise it could
trigger a stack overflow exception. For more efficient
mapping of the result, it's probably better to map
the resulting Task on Observable.runWith.
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
Defines a synchronous Consumer that builds synchronous subscribers.