Skip to content

MaelstromResponseMessage

MaelstromResponseMessage: (args) => MaelstromResponseMessage

Defined in: packages/protocol/src/lib/envelope.ts:207

Smart constructor for MaelstromResponseMessage. Omits sessionId from the constructed object when not supplied so an absent optional never survives as an explicit undefined across encode/decode.

MessageId

MaelstromResponse

SessionId

MaelstromResponseMessage