Class TaskRecipe

java.lang.Object
cloud.commandframework.tasks.TaskRecipe

public final class TaskRecipe extends Object
A task recipe is a chain of tasks with optional synchronization steps, that can be used to produce some sort of result from some input
  • Method Details

    • begin

      public <I> @NonNull TaskRecipe.TaskRecipeComponentOutputting<I,I> begin(@NonNull I input)
      Begin the recipe. This step always runs asynchronously.
      Type Parameters:
      I - Input type
      Parameters:
      input - Input
      Returns:
      Function that maps the input to itself