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

x/deno_nest/src/interfaces/mod.ts>SSEMessageEvent

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
interface SSEMessageEvent
import { type SSEMessageEvent } from "https://deno.land/x/deno_nest@v3.15.1/src/interfaces/mod.ts";

Properties

data: string | object
optional
id: string | number

The event id.

optional
retry: number

Retry time in milliseconds for reconnection, unit is milliseconds.

optional
event: string

The event name, if not set, the event name will be message. If the event name is set too, the event name will be used as the event name.