code: public static <T, R> CompletableFutureQueue<T, R> define(Function<T, R> transformation) {
      return new CompletableFutureQueue<>(t -> CompletableFuture.completedFuture(transformation.apply(t)));
    }
docs: <p>define.</p>
  
  @param transformation a {@link java.util.function.Function} object.
  @param <T>            a T object.
  @param <R>            a R object.
  @return a {@link org.rapidpm.frp.reactive.CompletableFutureQueue} object.