Skip to main content
Version: 21.2.1

CommonEventEmitter.removeAllListeners() method

Signature:

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

Parameters

ParameterTypeDescription
eventEventType(Optional)

Returns:

this