web3-utilsClassesEventEmitterOn this pageEventEmitter This class copy the behavior of Node.js EventEmitter class. It is used to provide the same interface for the browser environment.HierarchyEventEmitterEventEmitterIndex ConstructorsconstructorMethodsgetMaxListenerssetMaxListenersConstructors constructornew EventEmitter(): EventEmitterReturns EventEmitterMethods publicgetMaxListenersgetMaxListeners(): numberReturns numberpublicsetMaxListenerssetMaxListeners(maxListeners: number): EventEmitterParametersmaxListeners: numberReturns EventEmitter
This class copy the behavior of Node.js EventEmitter class. It is used to provide the same interface for the browser environment.