T
- output type of target supplierpublic class FluxSupplier<T> extends Object implements Supplier<reactor.core.publisher.Flux<T>>, FluxWrapper<Supplier<T>>
Supplier
implementation that wraps a target Supplier so that the target's
simple output type will be wrapped in a Flux
instance. If a Duration
is
provided, the Flux will produce output periodically, invoking the target Supplier's
get
method at each interval. If no Duration is provided, the target will be
invoked only once.Constructor and Description |
---|
FluxSupplier(Supplier<T> supplier) |
FluxSupplier(Supplier<T> supplier,
Duration period) |
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.