invoke
external fun <T> invoke(cmd: String, args: InvokeArgs = definedExternally, options: InvokeOptions = definedExternally): ERROR CLASS: Symbol not found for js.promise.Promise<T>(source)
Sends a message to the backend.
Return
A promise resolving or rejecting to the backend response.
Since
1.0.0
Parameters
cmd
The command name.
args
The optional arguments to pass to the command.
options
The request options.