Commands Port (ports)
Classes
CommandsPort
import { CommandsPort } from '@hexajs-dev/ports';
class CommandsPort { ... }
Methods
getAll()
getAll(): Promise<HexaWebCommand[]>
onCommandAddListener()
onCommandAddListener(listener: (command: string) => void): void
onCommandRemoveListener()
onCommandRemoveListener(listener: (command: string) => void): void