Uses of Interface
org.jboss.elemento.flow.Sequence
Packages that use Sequence
Package
Description
Provides an API for executing asynchronous tasks in parallel, sequentially, or repeatedly based on conditions.
-
Uses of Sequence in org.jboss.elemento.flow
Methods in org.jboss.elemento.flow that return SequenceModifier and TypeMethodDescriptionSequence.failFast(boolean failFast) Whether the execution of tasks should fail fast or fail last.static <C extends FlowContext>
Sequence<C> Executes a list of asynchronous tasks in parallel (all at once).static <C extends FlowContext>
Sequence<C> Flow.sequential(C context, List<Task<C>> tasks) Executes a list of asynchronous tasks in sequence (one after the other).Sequence.timeout(long timeout) The timeout in milliseconds for the sequence.