method ServerSentEventStreamTarget.prototype.dispatchEventimport { ServerSentEventStreamTarget } from "https://deno.land/std@0.203.0/http/server_sent_event.ts"; dispatchEvent(event: ServerSentEvent): booleandispatchEvent(event: CloseEvent | ErrorEvent): booleanParametersevent: ServerSentEventReturnsbooleanParametersevent: CloseEvent | ErrorEventReturnsboolean