Taos API Reference
    Preparing search index...

    Class Blackboard

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Read key, typed by the caller's generic (defaults to any). undefined if unset.

      Type Parameters

      • T = any

      Parameters

      • key: string

      Returns T

    • Read key, returning fallback (and inferring its type) when the key is unset.

      Type Parameters

      • T

      Parameters

      • key: string
      • fallback: T

      Returns T

    • Write value at key, replacing any prior value.

      Parameters

      • key: string
      • value: unknown

      Returns void

    • Whether key currently holds a value.

      Parameters

      • key: string

      Returns boolean

    • Remove key; returns whether it was present.

      Parameters

      • key: string

      Returns boolean

    • The live set of keys (iteration order = insertion order).

      Returns IterableIterator<string>