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

x/xdg/vendor/types/deno.d.ts>MessageEvent

Determine XDG Base Directory paths (OS/platform portable)
Go to Latest
class MessageEvent
extends Event
import { MessageEvent } from "https://deno.land/x/xdg@v10.5.1/vendor/types/deno.d.ts";

Constructors

new
MessageEvent(type: string, eventInitDict?: MessageEventInit)

Type Parameters

optional
T = any

Properties

readonly
data: T

Returns the data of the message.

readonly
lastEventId: string

Returns the last event ID string, for server-sent events.