Skip to main content
Version: 21.10.0

CommonEventEmitter.removeAllListeners() method

Signature:

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

Parameters

ParameterTypeDescription
eventkeyof Events(Optional)

Returns:

this