Skip to main content
Version: 21.5.1

CommonEventEmitter.removeAllListeners() method

Signature:

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

Parameters

ParameterTypeDescription
eventkeyof Events(Optional)

Returns:

this