Package cloud.commandframework.tasks
Interface TaskFunction<I,O>
- Type Parameters:
I- Input typeO- Output type
- All Superinterfaces:
Function<@NonNull I,,@NonNull O> TaskRecipeStep
Task step that produces output from given input
-
Method Summary
Modifier and TypeMethodDescription@NonNull Ostatic <I> TaskFunction<I,I> identity()Equivalent toFunction.identity()
-
Method Details
-
identity
Equivalent toFunction.identity()- Type Parameters:
I- Input type- Returns:
- Function that maps the input to itself
-
apply
-