Interface DelayedExecutionFlow<T>

Type Parameters:
T - The type of this flow
All Superinterfaces:
ExecutionFlow<T>

public sealed interface DelayedExecutionFlow<T> extends ExecutionFlow<T>
ExecutionFlow that can be completed similar to a CompletableFuture.
  • Method Details

    • create

      static <T> DelayedExecutionFlow<T> create()
    • complete

      void complete(@Nullable T result)
      Complete this flow normally.
      Parameters:
      result - The result value
    • completeExceptionally

      void completeExceptionally(Throwable exc)
      Complete this flow with an exception.
      Parameters:
      exc - The exception