import { EventEndpoint } from "https://deno.land/x/ayonli_jsext@v0.9.72/sse.ts";
Sends a custom event to the client.
The client (EventSource
or EventConsumer) will receive the
event as a MessageEvent
, which can be listened to using the custom
event name.