From 48e281285ae1d18e70dac12ddf203902aeda9f1d 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 8c4867b6fef427..1201e6152d7ba4 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -474,6 +474,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`