method EventSource.addEventListener
Jump to headingEventSource.addEventListener<K extends keyof EventSourceEventMap>(type: K,listener: (this: EventSource,ev: EventSourceEventMap[K],) => any,options?: boolean | AddEventListenerOptions,): voidType Parameters Jump to heading
Jump to headingK extends keyof EventSourceEventMapParameters Jump to heading
Jump to headingtype: KJump to headinglistener: (this: EventSource,ev: EventSourceEventMap[K],) => anyoptional
Jump to headingoptions: boolean | AddEventListenerOptionsReturn Type Jump to heading
voidJump to headingEventSource.addEventListener(type: string,listener: (this: EventSource,event: MessageEvent,) => any,options?: boolean | AddEventListenerOptions,): voidParameters Jump to heading
Jump to headingtype: stringJump to headinglistener: (this: EventSource,event: MessageEvent,) => anyoptional
Jump to headingoptions: boolean | AddEventListenerOptionsReturn Type Jump to heading
voidJump to headingEventSource.addEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): voidParameters Jump to heading
Jump to headingtype: stringoptional
Jump to headingoptions: boolean | AddEventListenerOptionsReturn Type Jump to heading
void