Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/sse.ts>EventEndpoint#dispatchEvent

A JavaScript extension package for building strong and modern applications.
Latest
method EventEndpoint.prototype.dispatchEvent
import { EventEndpoint } from "https://deno.land/x/ayonli_jsext@v0.9.72/sse.ts";

Dispatches an message event that will be sent to the client.

Parameters

event: MessageEvent<string>

Returns

boolean