EventSourceReadyState
readyState
values of an EventSource - read without the global, which some runtimes don't have
Import
import { EventSourceReadyState } from "@hyper-fetch/sockets"
Source
Package
Preview
const EventSourceReadyState = { CLOSED: 2; CONNECTING: 0; OPEN: 1 }
Structure
EventSourceReadyState
| Name | Type | Description |
|---|---|---|
| CLOSED | | |
| CONNECTING | | |
| OPEN | |

