method EventSource.removeEventListener
EventSource.removeEventListener<K extends keyof EventSourceEventMap>(
type: K,
listener: () => any,
options?: boolean | EventListenerOptions,
): void

Type Parameters

K extends keyof EventSourceEventMap

Parameters

type: K
listener: () => any
optional
options: boolean | EventListenerOptions

Return Type

void
EventSource.removeEventListener(
type: string,
listener: () => any,
options?: boolean | EventListenerOptions,
): void

Parameters

type: string
listener: () => any
optional
options: boolean | EventListenerOptions

Return Type

void
EventSource.removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void

Parameters

type: string
optional
options: boolean | EventListenerOptions

Return Type

void