Class UniCreateFromItemWithState<T,​S>

  • Type Parameters:
    T - the type of the item
    S - the type of the state
    All Implemented Interfaces:
    Uni<T>

    public class UniCreateFromItemWithState<T,​S>
    extends AbstractUni<T>
    Specialized Uni implementation for the case where the item is produced from a supplier. This variant of UniCreateFromItemSupplier accepts a state supplier. The supplied item can be null.
    • Constructor Detail

      • UniCreateFromItemWithState

        public UniCreateFromItemWithState​(java.util.function.Supplier<S> stateSupplier,
                                          java.util.function.Function<S,​? extends T> mapper)