Documentation - v19.12.0-dev
    Preparing search index...

    Class ObjectStateController<TObject, TState>

    Recomputes and applies an object's final state by folding all of its active partial states over the initial state captured at construction, in insertion order. A partial state with restore: true resets the accumulator to the initial state before continuing. See ObjectStateHistory for how partial states get registered.

    Type Parameters

    Index

    Constructors

    Properties

    _initialState: ObjectState
    _object: TObject
    _stateIds: Set<number> = ...

    Methods

    • Parameters

      Returns void

    • Parameters

      Returns void

    • Returns ObjectState

    • Parameters

      • id: number

      Returns void

    • Parameters

      • id: number

      Returns boolean

    • Parameters

      • id: number

      Returns boolean