Skip to main content
Version: 21.6.1

CommonEventEmitter.removeAllListeners() method

Signature:

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

Parameters

ParameterTypeDescription
eventkeyof Events(Optional)

Returns:

this