Hierarchy

  • NullEventSource

Implements

Constructors

Properties

closed: boolean = false
handlers: Record<string, ((event?) => void)> = {}

Type declaration

    • (event?): void
    • Parameters

      • Optional event: {
            data?: any;
        }
        Optional
        • Optional data?: any

      Returns void

onclose: undefined | (() => void)

Type declaration

    • (): void
    • Returns void

onerror: undefined | (() => void)

Type declaration

    • (): void
    • Returns void

onopen: undefined | (() => void)

Type declaration

    • (): void
    • Returns void

onretrying: undefined | ((e) => void)

Type declaration

    • (e): void
    • Parameters

      • e: {
            delayMillis: number;
        }
        • delayMillis: number

      Returns void

url: string

Methods

Generated using TypeDoc