setCommandResult

abstract fun setCommandResult(key: String, value: Any)

Sets the result of a command execution with the specified key and value.

Parameters

key

The unique identifier for the command result to set.

value

The value to be stored as the result of the command execution.