Skip to main content
Version: 22.9.0

CommonEventEmitter.removeAllListeners() method

Signature:

interface CommonEventEmitter {
removeAllListeners(event?: keyof Events): this;
}

Parameters

Parameter

Type

Description

event

keyof Events

(Optional)

Returns:

this