Lazily supply a Publisher every time a org.reactivestreams.Subscription is made on the resulting SFlux, so the actual source instantiation is deferred until each subscribe and the Supplier can create a subscriber-specific instance.
Lazily supply a Publisher every time a org.reactivestreams.Subscription is made on the resulting SFlux, so the actual source instantiation is deferred until each subscribe and the Supplier can create a subscriber-specific instance. If the supplier doesn't generate a new instance however, this operator will effectively behave like SFlux.from(Publisher)
the type of values passing through the SFlux
the {Publisher Supplier to call on subscribe
a deferred SFlux
SFlux.deferWithContext(Function)
Lazily supply a Publisher every time a org.reactivestreams.Subscription is made on the resulting SFlux, so the actual source instantiation is deferred until each subscribe and the Function1 can create a subscriber-specific instance.
Lazily supply a Publisher every time a org.reactivestreams.Subscription is made on the resulting SFlux, so the actual source instantiation is deferred until each subscribe and the Function1 can create a subscriber-specific instance. This operator behaves the same way as SFlux.defer(Supplier), but accepts a Function1 that will receive the current Context as an argument. If the supplier doesn't generate a new instance however, this operator will effectively behave like SFlux.from(Publisher).
Merge data from Publisher sequences contained in an array / vararg into an interleaved merged sequence.
Merge data from Publisher sequences contained in an array / vararg into an interleaved merged sequence. Unlike concat, sources are subscribed to eagerly.
Note that merge is tailored to work with asynchronous sources or finite sources. When dealing with an infinite source that doesn't already publish on a dedicated Scheduler, you must isolate that source in its own Scheduler, as merge would otherwise attempt to drain it before subscribing to another source.
The source type of the data sequence
the array of Publisher sources to merge
the inner source request size
This parameter will delay any error until after the rest of the merge backlog has been processed.
a fresh Reactive SFlux publisher ready to be subscribed
Merge data from provided Publisher sequences into an ordered merged sequence, by picking the smallest values from each source (as defined by the provided Comparator).
Merge data from provided Publisher sequences into an ordered merged sequence, by picking the smallest values from each source (as defined by the provided Comparator). This is not a SFlux.sort(Ordering), as it doesn't consider the whole of each sequences.
Instead, this operator considers only one value from each source and picks the smallest of all these values, then replenishes the slot for that picked source.
the merged type
Publisher sources to merge
the number of elements to prefetch from each source (avoiding too many small requests to the source when picking)
the Comparator to use to find the smallest value
a merged SFlux that , subscribing early but keeping the original ordering
Build a reactor.core.publisher.FluxProcessor whose data are emitted by the most recent emitted Publisher.
Build a reactor.core.publisher.FluxProcessor whose data are emitted by the most recent emitted Publisher. The SFlux will complete once both the publishers source and the last switched to Publisher have completed.
the produced type
The Publisher of switching Publisher to subscribe to.
a reactor.core.publisher.FluxProcessor accepting publishers and producing T