handleCommand

abstract fun handleCommand(cmd: Command): JsonResponse<*>

Handles commands. Commands are different from events in that they are not being logged. Session info is included if needed. The handling is synchronous, but long-running tasks might start asynchronous processes.