Properties
closed
closed: boolean = false
handlers
handlers: Record<string, ((event?) => void)> = {}
Type declaration
-
- (event?): void
-
Parameters
-
Optional
event: {
data?: any;
}
Optional
Returns void
onclose
onclose: undefined | (() => void)
onerror
onerror: undefined | (() => void)
onopen
onopen: undefined | (() => void)
onretrying
onretrying: undefined | ((e) => void)
Type declaration
-
- (e): void
-
Parameters
-
e: {
delayMillis: number;
}
Returns void