Skip to content

Documentation / @eventkit/http / EventSourceMessage

Type Alias: EventSourceMessage<T>

ts
type EventSourceMessage<T> = object;

Represents a message event emitted by an EventSource.

Type Parameters

Type ParameterDescription
TThe type of data contained in message events

Properties

data

ts
data: T;

id?

ts
optional id: string;

type

ts
type: string;

Released under the MIT License.