Interface ContextualTaskBuilder


public interface ContextualTaskBuilder
Queues execution of tasks using Scheduler, often combining parameters with variables already known by this instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Task
    consume(@NotNull Consumer<Task> consumer)
     
    @NotNull Task
    run(@NotNull Runnable runnable)
     
  • Method Details

    • consume

      @NotNull @NotNull Task consume(@NotNull @NotNull Consumer<Task> consumer)
    • run

      @NotNull @NotNull Task run(@NotNull @NotNull Runnable runnable)