Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MessageEvent

import type { MessageEvent } from "https://googleapis.deno.dev/v1/cloudtrace:v2.ts";

An event describing a message sent/received between Spans.

interface MessageEvent {
compressedSizeBytes?: bigint;
id?: bigint;
type?: "TYPE_UNSPECIFIED" | "SENT" | "RECEIVED";
uncompressedSizeBytes?: bigint;
}

§Properties

§
compressedSizeBytes?: bigint
[src]

The number of compressed bytes sent or received. If missing, the compressed size is assumed to be the same size as the uncompressed size.

§
id?: bigint
[src]

An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents.

§
type?: "TYPE_UNSPECIFIED" | "SENT" | "RECEIVED"
[src]

Type of MessageEvent. Indicates whether the message was sent or received.

§
uncompressedSizeBytes?: bigint
[src]

The number of uncompressed bytes sent or received.