@bitsinfra/fusee
    Preparing search index...

    Class ObjectState

    A key's state as a handler sees it: JSON values under string keys.

    Index
    • Parameters

      • key: string

      Returns void

    • Clears every key.

      Returns void

    • The value, or undefined when the key has none. An exclusive handler sees its own writes.

      Type Parameters

      • T = unknown

      Parameters

      • key: string

      Returns T | undefined

    • The keys that hold a value, sorted.

      Returns string[]

    • Sets a value (null or undefined clears it); committed when the handler returns.

      Parameters

      • key: string
      • value: unknown

      Returns void