java.lang.Object
mutiny.zero.operators.Transform<I,O>
- Type Parameters:
I- the input elements typeO- the output elements type
- All Implemented Interfaces:
Flow.Publisher<O>
A
Flow.Publisher that transforms elements using a Function.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Transform
Build a new transformation publisher.- Parameters:
upstream- the upstream publisherfunction- the transformation function, must not throw exceptions, must not returnnullvalues
-
-
Method Details
-
subscribe
- Specified by:
subscribein interfaceFlow.Publisher<I>
-