constructor

bun.EventSource.constructor

constructor EventSource(
url: string | URL,
eventSourceInitDict?: EventSourceInit

Referenced types

class URL

The URL interface represents an object providing static methods used for creating object URLs.

MDN Reference

interface EventSourceInit