Documentation / @eventkit/http / EventSourceMessage
Type Alias: EventSourceMessage<T>
ts
type EventSourceMessage<T> = object;
Represents a message event emitted by an EventSource.
Type Parameters
Type Parameter | Description |
---|---|
T | The type of data contained in message events |
Properties
data
ts
data: T;
id?
ts
optional id: string;
type
ts
type: string;