executes

fun executes(executor: CommandExecutor)

Sets the execution handler for this command node.

Parameters

executor

A function that handles command execution and returns a result code