Skip to content

Commit 65362f0

Browse files
authored
doc: add missing EventSource docs to globals
PR-URL: #55022 Refs: #51575 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 5e25c2a commit 65362f0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/api/globals.md

+13
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,17 @@ changes:
474474
A browser-compatible implementation of the `Event` class. See
475475
[`EventTarget` and `Event` API][] for more details.
476476

477+
## `EventSource`
478+
479+
<!-- YAML
480+
added: v22.3.0
481+
-->
482+
483+
> Stability: 1 - Experimental. Enable this API with the [`--experimental-eventsource`][]
484+
> CLI flag.
485+
486+
A browser-compatible implementation of the [`EventSource`][] class.
487+
477488
## `EventTarget`
478489

479490
<!-- YAML
@@ -1207,6 +1218,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
12071218
[Navigator API]: https://html.spec.whatwg.org/multipage/system-state.html#the-navigator-object
12081219
[RFC 5646]: https://www.rfc-editor.org/rfc/rfc5646.txt
12091220
[Web Crypto API]: webcrypto.md
1221+
[`--experimental-eventsource`]: cli.md#--experimental-eventsource
12101222
[`--experimental-webstorage`]: cli.md#--experimental-webstorage
12111223
[`--localstorage-file`]: cli.md#--localstorage-filefile
12121224
[`--no-experimental-global-navigator`]: cli.md#--no-experimental-global-navigator
@@ -1219,6 +1231,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
12191231
[`CustomEvent` Web API]: https://dom.spec.whatwg.org/#customevent
12201232
[`DOMException`]: https://developer.mozilla.org/en-US/docs/Web/API/DOMException
12211233
[`DecompressionStream`]: webstreams.md#class-decompressionstream
1234+
[`EventSource`]: https://developer.mozilla.org/en-US/docs/Web/API/EventSource
12221235
[`EventTarget` and `Event` API]: events.md#eventtarget-and-event-api
12231236
[`MessageChannel`]: worker_threads.md#class-messagechannel
12241237
[`MessageEvent`]: https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/MessageEvent

0 commit comments

Comments
 (0)