Typescript Library Declarations (DOM)
Variable EventSource
Event
Source
:
{
CLOSED
:
2
;
CONNECTING
:
0
;
OPEN
:
1
;
prototype
:
EventSource
;
new
(
url
,
eventSourceInitDict
?
)
:
EventSource
;
}
Type declaration
new
(
url
,
eventSourceInitDict
?
)
:
EventSource
Parameters
url
:
string
|
URL
Optional
eventSourceInitDict
:
EventSourceInit
Returns
EventSource
Readonly
CLOSED
:
2
Readonly
CONNECTING
:
0
Readonly
OPEN
:
1
prototype
:
EventSource
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark