Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.webworker.d.ts>EventSource

A modern runtime for JavaScript and TypeScript.
Latest
variable EventSource
import { EventSource } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.webworker.d.ts";

type

{ prototype: EventSource; readonly CONNECTING: 0; readonly OPEN: 1; readonly CLOSED: 2; new (url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; }