Interface: StreamMessage<ForID, E>
common.StreamMessage
Represents a message in an event stream.
Type parameters
Name | Type |
---|---|
ForID | extends boolean |
E | extends StreamEvent |
Properties
data
• data: ForID
extends true
? StreamDataForID
<E
> : StreamData
<E
>
Defined in
event
• event: E