postprocessing - v7.0.0-beta.16
    Preparing search index...

    Class ObservableSet<T>

    A set that emits events when its data changes.

    Type Parameters

    • T

      The type of the values.

    Hierarchy

    Implements

    Index

    Constructors

    Accessors

    Methods

    • Removes a specified value from the Set.

      Parameters

      • value: T

      Returns boolean

      Returns true if an element in the Set existed and has been removed, or false if the element does not exist.

    • Executes a provided function once per each value in the Set object, in insertion order.

      Parameters

      • callbackfn: (value: T, value2: T, set: Set<T>) => void
      • OptionalthisArg: unknown

      Returns void

    • Parameters

      • value: T

      Returns boolean

      a boolean indicating whether an element with the specified value exists in the Set or not.