Core
Framework v2.x
2

removeAllListeners() #

Available since 2.9.0

Unregisters all listeners from an event.

removeAllListeners (event: string): Promise<void>

ArgumentTypeDescription
event
string
Event name

Usage #

app.cluster.removeAllListeners('some:event');