Publish a message to all other Actionhero nodes in the cluster. Will be authenticated against api.config.serverToken
let payload = {
messageType: 'myMessageType',
serverId: api.id,
serverToken: api.config.general.serverToken,
message: 'hello!'
}
await api.redis.publish(payload)
Generated using TypeDoc
Invoke a command on all servers in this cluster.