// This function switches between the native web implementation and a nodejs implemnetationexportasyncfunctiongetEventSource() {
if (globalThis.EventSource) {
returnEventSource;
}
return (awaitimport("eventsource")).default;
}
//# sourceMappingURL=eventSource.js.map