Sync
Defines a synchronous Consumer that builds synchronous subscribers.
Value members
Abstract methods
- Definition Classes
Inherited methods
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.
- Inherited from:
- Consumer
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.
- Inherited from:
- 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.
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.consumeWith.
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 results using a generic F[_]
data type that must implement the cats.effect.Effect
type
class. Examples of such classes are cats.effect.IO
and
monix.eval.Task, thus being able to do asynchronous
processing.
See mapTask for the version that's specialized on Task
.
- Inherited from:
- 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.
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.consumeWith.
See mapEval for the version that can work with any
data type that implements cats.effect.Effect
.
- Inherited from:
- Consumer
Given a function that transforms the input stream, uses it to transform the source consumer into one that accepts events of the type specified by the transformation function.
Given a function that transforms the input stream, uses it to transform the source consumer into one that accepts events of the type specified by the transformation function.
- Inherited from:
- Consumer