UNPKG

@andreasnicolaou/reactive-event-source

Version:

A lightweight reactive wrapper around EventSource using RxJS, providing automatic reconnection and buffering.

6 lines (5 loc) 150 B
export declare class EventSourceError extends Error { message: string; attempt: number; constructor(message: string, attempt?: number); }