Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CalculatingMessage

A message sent when options are evaluating.

Notes

The messages contain state info about what options are being evaluated, or have finished evaluating.

Hierarchy

  • CalculatingMessage

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new CalculatingMessage(type: "before-option-calc" | "after-option-calc", options: Set<string>): CalculatingMessage

Properties

options

options: Set<string>

Accessors

isConflatable

  • get isConflatable(): boolean

Methods

conflate

  • conflate(other: Message): boolean
  • Conflate this message with another OptionEvalMessage

    Notes

    User code should not call this function!

    This means that any Option Eval Messages delivered synchronously within the same loop will be conflated with one another- that is, their state will be merged and only a single message will be delivered to the widget.

    Parameters

    • other: Message

    Returns boolean

Static IsCalcMsg

  • IsCalcMsg(msg: Message): msg is CalculatingMessage
  • Parameters

    • msg: Message

    Returns msg is CalculatingMessage

Generated using TypeDoc