Uses of Class
org.jboss.elemento.flow.FlowContext
-
-
Uses of FlowContext in org.jboss.elemento.flow
Classes in org.jboss.elemento.flow with type parameters of type FlowContext Modifier and Type Interface Description interfaceFlowCallback<C extends FlowContext>A callback for the outcome of the execution of asynchronous tasks.classParallelTasks<C extends FlowContext>A task implementation that executes a list of asynchronous tasks in parallel.interfacePromisable<C extends FlowContext>An interface to use the promise when executing asynchronous tasks.interfaceRepeat<C extends FlowContext>An interface to control the repeated execution of an asynchronous task.classRepeatTask<C extends FlowContext>A task implementation that executes a task as long as certain conditions are met.interfaceSequence<C extends FlowContext>classSequentialTasks<C extends FlowContext>A task implementation that executes a list of asynchronous tasks in order.interfaceSubscription<C extends FlowContext>An interface to subscribe to the outcome of the execution of asynchronous tasks.interfaceTask<C extends FlowContext>Interface for the execution of an asynchronous task.Methods in org.jboss.elemento.flow with type parameters of type FlowContext Modifier and Type Method Description static <C extends FlowContext>
Sequence<C>Flow. parallel(C context, List<Task<C>> tasks)Executes a list of asynchronous tasks in parallel (all at once).<C extends FlowContext>
elemental2.promise.Promise<C>FlowContext. reject(Object error)static <C extends FlowContext>
Repeat<C>Flow. repeat(C context, Task<C> task)<C extends FlowContext>
elemental2.promise.Promise<C>FlowContext. resolve()Resolves this context successfully as a promise.<C extends FlowContext,T>
elemental2.promise.Promise<C>FlowContext. resolve(String key, T value)Stores the value under the given key in the map and resolves this context successfully as a promise.<C extends FlowContext,T>
elemental2.promise.Promise<C>FlowContext. resolve(T value)Pushes the value on top of the stack and resolves this context successfully as a promise.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).
-