Interface ContextualPromiseBuilder

All Known Subinterfaces:
TaskBuilder.Delayed, TaskBuilder.DelayedTick, TaskBuilder.DelayedTime

public interface ContextualPromiseBuilder
Builds instances of Promise, often combining parameters with variables already known by this instance.
  • Method Details

    • supply

      @NotNull <T> @NotNull Promise<T> supply(@NotNull @NotNull Supplier<T> supplier)
    • call

      @NotNull <T> @NotNull Promise<T> call(@NotNull @NotNull Callable<T> callable)
    • run

      @NotNull @NotNull Promise<Void> run(@NotNull @NotNull Runnable runnable)