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 returnnull
values
-
-
Method Details
-
subscribe
- Specified by:
subscribe
in interfaceFlow.Publisher<I>
-