ClusteredRedisQueue.emit() method
Emits an event on every server's queue and on the internal template, so each listener registered through this class runs once per server.
Signature:
emit(...args: any[]): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
args |
any[] |
the arguments |
Returns:
boolean
always true
Remarks
The per-emitter results are discarded, so unlike EventEmitter.emit the return value does not report whether the event had any listeners — it is true even for an empty cluster with no listeners at all.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.