Message

source

Constructors

new Message<T extends string = string>(name: T, version: string, topic: string): Messagesource

Properties

UnionFields: Record<string, string>source

inherited from Struct.UnionFields

readonlytopic: stringsource

readonlytypeName: Tsource

inherited from Struct.typeName

Methods

Static methods

statictopicOf(message: Message): stringsource

Inherited methods

abstractserialise(): anysource

inherited from Struct.serialise

toJSON(): stringsource

inherited from Struct.toJSON

staticnameOf(struct: Struct): stringsource

inherited from Struct.nameOf

staticnew<T extends Struct>(this: Ctor<T> & HasReflectionMetadata, values: StructValues<T>): Tsource

inherited from Struct.new

staticserialise(struct: Struct): anysource

inherited from Struct.serialise

staticversionOf(struct: Struct): stringsource

inherited from Struct.versionOf