Skip to content

Commit 92f3447

Browse files
KhafraDevtargos
authored andcommittedOct 2, 2024
doc: add missing EventSource docs to globals
PR-URL: #55022 Backport-PR-URL: #55059 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 013c48f commit 92f3447

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
@@ -451,6 +451,17 @@ changes:
451451
A browser-compatible implementation of the `Event` class. See
452452
[`EventTarget` and `Event` API][] for more details.
453453

454+
## `EventSource`
455+
456+
<!-- YAML
457+
added: REPLACEME
458+
-->
459+
460+
> Stability: 1 - Experimental. Enable this API with the [`--experimental-eventsource`][]
461+
> CLI flag.
462+
463+
A browser-compatible implementation of the [`EventSource`][] class.
464+
454465
## `EventTarget`
455466

456467
<!-- YAML
@@ -1012,6 +1023,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
10121023
[CommonJS modules]: modules.md
10131024
[ECMAScript module]: esm.md
10141025
[Web Crypto API]: webcrypto.md
1026+
[`--experimental-eventsource`]: cli.md#--experimental-eventsource
10151027
[`--experimental-websocket`]: cli.md#--experimental-websocket
10161028
[`--no-experimental-fetch`]: cli.md#--no-experimental-fetch
10171029
[`--no-experimental-global-customevent`]: cli.md#--no-experimental-global-customevent
@@ -1023,6 +1035,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
10231035
[`CustomEvent` Web API]: https://dom.spec.whatwg.org/#customevent
10241036
[`DOMException`]: https://developer.mozilla.org/en-US/docs/Web/API/DOMException
10251037
[`DecompressionStream`]: webstreams.md#class-decompressionstream
1038+
[`EventSource`]: https://developer.mozilla.org/en-US/docs/Web/API/EventSource
10261039
[`EventTarget` and `Event` API]: events.md#eventtarget-and-event-api
10271040
[`MessageChannel`]: worker_threads.md#class-messagechannel
10281041
[`MessageEvent`]: https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/MessageEvent

0 commit comments

Comments
 (0)
Please sign in to comment.