SwoffSwoff

isPushConnected

Check if SSE is connected.

isPushConnected()

From swoff/server-push/client.ts. Returns boolean.

import { isPushConnected } from "swoff/server-push/client";

On this page