Class AloFluxKt
-
- All Implemented Interfaces:
public final class AloFluxKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any, V extends Any> AloFlux<V>suspendMap(AloFlux<T> $self, SuspendFunction1<T, V> mapper)Apply a coroutine-based mapping of items to an AloFlux. final static <T extends Any, V extends Any> AloFlux<V>suspendMap(AloFlux<T> $self, SuspendFunction1<T, V> mapper, Integer concurrency, Integer prefetch)Apply a coroutine-based mapping of items to an AloFlux with a configurable maximum number of concurrent invocations. final static <T extends Any, V extends Any> AloFlux<V>suspendMapPrefetch(AloFlux<T> $self, SuspendFunction1<T, V> mapper, Integer prefetch)Apply a coroutine-based mapping of items to an AloFlux with configurable prefetch. final static <T extends Any, V extends Any> AloFlux<V>flowMap(AloFlux<T> $self, Function1<T, Flow<V>> mapper)Apply a one-to-many Flow-based mapping of items to an AloFlux. final static <T extends Any, V extends Any> AloFlux<V>flowMap(AloFlux<T> $self, Function1<T, Flow<V>> mapper, Integer concurrency, Integer prefetch)Apply a one-to-many Flow-based mapping of items to an AloFlux with a configurable maximum number of concurrent invocations and in-flight elements from each inner Flow. final static <T extends Any, V extends Any> AloFlux<V>flowMapPrefetch(AloFlux<T> $self, Function1<T, Flow<V>> mapper, Integer prefetch)Apply a one-to-many Flow-based mapping of items to an AloFlux with configurable prefetch. -
-
Method Detail
-
suspendMap
final static <T extends Any, V extends Any> AloFlux<V> suspendMap(AloFlux<T> $self, SuspendFunction1<T, V> mapper)
Apply a coroutine-based mapping of items to an AloFlux.
-
suspendMap
final static <T extends Any, V extends Any> AloFlux<V> suspendMap(AloFlux<T> $self, SuspendFunction1<T, V> mapper, Integer concurrency, Integer prefetch)
Apply a coroutine-based mapping of items to an AloFlux with a configurable maximum number of concurrent invocations. Concurrent outputs are interleaved and therefore emission order is non-deterministic.
-
suspendMapPrefetch
final static <T extends Any, V extends Any> AloFlux<V> suspendMapPrefetch(AloFlux<T> $self, SuspendFunction1<T, V> mapper, Integer prefetch)
Apply a coroutine-based mapping of items to an AloFlux with configurable prefetch.
-
flowMap
final static <T extends Any, V extends Any> AloFlux<V> flowMap(AloFlux<T> $self, Function1<T, Flow<V>> mapper)
Apply a one-to-many Flow-based mapping of items to an AloFlux.
-
flowMap
final static <T extends Any, V extends Any> AloFlux<V> flowMap(AloFlux<T> $self, Function1<T, Flow<V>> mapper, Integer concurrency, Integer prefetch)
Apply a one-to-many Flow-based mapping of items to an AloFlux with a configurable maximum number of concurrent invocations and in-flight elements from each inner Flow. Concurrent outputs from inner Flows are interleaved and therefore emission order is non-deterministic.
-
flowMapPrefetch
final static <T extends Any, V extends Any> AloFlux<V> flowMapPrefetch(AloFlux<T> $self, Function1<T, Flow<V>> mapper, Integer prefetch)
Apply a one-to-many Flow-based mapping of items to an AloFlux with configurable prefetch.
-
-
-
-