interface ISseClient

A running SSE client returned by createSseClient.

Properties

Current lifecycle state.

Methods

close(): void

Stops the active stream and disables every future reconnect attempt.

Usage

import { type ISseClient } from "sdk/src/index.ts";