getCommandResult

abstract fun <R> getCommandResult(key: String): R?

Retrieves the result of a command execution based on the provided key.

Return

The result of the command execution associated with the given key, or null if no result is found.

Parameters

key

The unique identifier for the command result to retrieve.


abstract fun getCommandResult(): Map<String, Any>

Retrieves the results of all command executions.

Return

A map containing the keys and their corresponding results of the command executions.