Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Readonly _type

_type: "ObserveEvent" = 'ObserveEvent'

Readonly eventId

eventId: string = ...

Readonly eventName

eventName: EventName

Readonly eventTime

eventTime: string = ...

Readonly paramSet

paramSet: Parameter<Key>[]

Readonly source

source: Prefix

Methods

add

  • Adds a parameter to the parameter set

    tparam

    P the Parameter type

    Type parameters

    Parameters

    • parameter: P

      the parameter to add

    Returns ObserveEvent

    a new instance of this parameter set with the given parameter added

create

exists

  • Returns true if the key exists in the parameter set

    tparam

    S the Key value

    Type parameters

    Parameters

    Returns boolean

    true if the key is found

get

madd

  • Adds several parameters to the parameter set

    note

    madd ensures check for duplicate key

    tparam

    P must be a subclass of Parameter

    Type parameters

    Parameters

    • parametersToAdd: P[]

      the list of parameters to add to the parameter set

    Returns ObserveEvent

    a new instance of this parameter set with the given parameter added

remove

  • Remove a parameter from the parameter set by key

    tparam

    S the Key value

    Type parameters

    Parameters

    Returns ObserveEvent

    a new T, where T is a parameter set child with the key removed or identical if the key is not present

size

  • size(): number

Static decoder

Static make

Generated using TypeDoc