Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.3.0/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.