RSX Code Reference
    Preparing search index...
    • rsx
    • ModuleTypeSet

    Class ModuleTypeSet

    The ModuleTypeSet class implements Set-like type that allows storing a Type that is aware of its origin module. This is useful when a type needs to be registered as a part of a decorator, but it also needs to be cleared once the module that originates the type has been removed.

    Index
    • Iterates over the types in the set.

      Returns Generator<Type>

    • Adds a new type to the module set.

      Parameters

      • type: Type

        The type to be inserted into the set.

      Returns void

    • Clears all values on the set.

      Returns void

    • Iterates over all items on the set.

      Parameters

      • callback: (value: Type) => void

      Returns void