Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseMessage<T>

Type parameters

  • T = any

Hierarchy

  • BaseMessage

Index

Constructors

constructor

  • new BaseMessage<T>(messageType: string, content: T, isPersited?: boolean, isCounted?: boolean): BaseMessage<T>
  • Type parameters

    • T = any

    Parameters

    • messageType: string
    • content: T
    • isPersited: boolean = true
    • isCounted: boolean = true

    Returns BaseMessage<T>

Properties

Readonly messageType

messageType: string

content

content: T

Readonly isPersited

isPersited: boolean = true

Readonly isCounted

isCounted: boolean = true