Source symbols: packages/playwright-core/src/client/eventEmitter.ts
Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.
- Revision: main@4cd8608744bf4d18c9f23578c3cf4a1cd1862b2d · 2026-07-20T11:02:36Z
- Declarations: 33
- Referenced calls: 52
Declared symbols
EventType— type at line 31Listener— type at line 32EventMap— type at line 33EventEmitter— exported class at line 35; referencesconstructor,getPrototypeOf,create,setMaxListeners,isNaN,RangeError,getMaxListeners,emit,_callHandler,slice,for,apply,get,Set,set,add,_rejectionHandler,delete,addListener,_addListenerevents— const at line 65; references_callHandler,slice,forhandler— const at line 69; references_callHandler,slice,forlen— const at line 76; referencesslice,for,_callHandler,apply,get,Set,set,add,_rejectionHandler,deletelisteners— const at line 77; referencesslice,for,_callHandler,apply,get,Set,set,add,_rejectionHandler,deletepromise— const at line 85; referencesapply,get,Set,setset— let at line 88; referencesget,Setevents— let at line 112; referencescreate,emit,unwrapListenerexisting— let at line 113; referencescreate,emit,unwrapListenerm— const at line 147; referencesgetMaxListeners,Error,String,isUnderTest,warnw— const at line 151; referencesError,String,isUnderTest,warnevents— const at line 188; referencescreate,emit,for,wrappedListener,shift,splicelist— const at line 192; referencescreate,emit,for,wrappedListener,shift,spliceposition— let at line 205; referencesfor,wrappedListeneroriginalListener— let at line 206; referencesfor,wrappedListenererrors— const at line 247; referencespush,_waitForevents— const at line 262; referencescreatekeys— const at line 282; referencesfor,_removeAllListenerskey— let at line 283; referencesfor,_removeAllListenerslisteners— const at line 296; referencesremoveListener,forevents— const at line 316listener— const at line 318; referenceseventNames,ownKeyspromises— let at line 332; referencesget,for,pushevents— const at line 344; referencesunwrapListener,unwrapListeners,slice,TypeErrorlistener— const at line 349; referencesunwrapListener,unwrapListeners,slice,TypeErrorcheckListener— function at line 360; referencesTypeErrorOnceWrapper— class at line 365; referencesconstructor,bind,_handle,removeListener,applyunwrapListener— function at line 389; referenceswrappedListenerunwrapListeners— function at line 393; referenceswrappedListenerwrappedListener— function at line 397
Imported modules
events@utils/debug
File-level call references
constructor— line 43getPrototypeOf— line 44create— line 45setMaxListeners— line 53isNaN— line 54RangeError— line 55getMaxListeners— line 60emit— line 64_callHandler— line 74slice— line 77for— line 78apply— line 85get— line 88Set— line 90set— line 91add— line 93_rejectionHandler— line 96delete— line 99addListener— line 102_addListener— line 103checkListener— line 111unwrapListener— line 121unshift— line 141push— line 143Error— line 151String— line 152isUnderTest— line 159warn— line 161prependListener— line 169once— line 173OnceWrapper— line 175prependOnceListener— line 179removeListener— line 185wrappedListener— line 209shift— line 220splice— line 222off— line 235removeAllListeners— line 239_removeAllListeners— line 242_waitFor— line 249resolve— line 258listeners— line 307_listeners— line 308rawListeners— line 311listenerCount— line 315eventNames— line 327ownKeys— line 328all— line 340unwrapListeners— line 356TypeError— line 362bind— line 376_handle— line 380
Source: packages/playwright-core/src/client/eventEmitter.ts