execute

abstract suspend fun execute(callback: (Message) -> Unit)

Executes the command and invokes the callback with the resulting message.

Parameters

callback

Function to call with the message when the command completes