From a4a3cb299888ef3344626c478f00ef01903f1b42 Mon Sep 17 00:00:00 2001 From: Khafra Date: Sun, 22 Sep 2024 00:10:15 -0400 Subject: [PATCH] doc: add missing EventSource docs to globals PR-URL: https://github.com/nodejs/node/pull/55022 Refs: https://github.com/nodejs/node/pull/51575 Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Jake Yuesong Li Reviewed-By: Moshe Atlow Reviewed-By: Chemi Atlow Reviewed-By: Antoine du Hamel --- doc/api/globals.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/api/globals.md b/doc/api/globals.md index 9d3d1e23bd630c..1c4f562f78dc58 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -451,6 +451,17 @@ changes: A browser-compatible implementation of the `Event` class. See [`EventTarget` and `Event` API][] for more details. +## `EventSource` + + + +> Stability: 1 - Experimental. Enable this API with the [`--experimental-eventsource`][] +> CLI flag. + +A browser-compatible implementation of the [`EventSource`][] class. + ## `EventTarget`