Skip to main content

Class: MessageID

Constructors

new MessageID()

new MessageID(streamId, streamPartition, timestamp, sequenceNumber, publisherId, msgChainId): MessageID

Parameters

streamId

StreamID

streamPartition

number

timestamp

number

sequenceNumber

number

publisherId

UserID

msgChainId

string

Returns

MessageID

Properties

msgChainId

readonly msgChainId: string


publisherId

readonly publisherId: UserID


sequenceNumber

readonly sequenceNumber: number


streamId

readonly streamId: StreamID


streamPartition

readonly streamPartition: number


timestamp

readonly timestamp: number

Methods

getStreamPartID()

getStreamPartID(): StreamPartID

Returns

StreamPartID


toMessageRef()

toMessageRef(): MessageRef

Returns

MessageRef