Are you an LLM? You can read better optimized documentation at /documentation/api/core/functions/applyCommand.md for this page in Markdown format
ws-asyncapi API / core / applyCommand
Function: applyCommand()
applyCommand(
channel,cmd,isOrigin):void
Defined in: .api-entries/core/index.d.ts:130
Apply a command to a channel's local sockets. Called by each node from its backplane message handler. isOrigin is true on the node that issued the command (used to avoid echoing serverSideEmit back to the sender).
Parameters
channel
cmd
isOrigin
boolean
Returns
void