Class ComponentPool

Hierarchy

  • ComponentPool

Constructors

Methods

Constructors

Methods

  • Return an object to the pool for reuse.

    Type Parameters

    • T extends Record<string, any>

    Parameters

    • component: T

      The component to return to the pool.

    Returns void

  • Get an object from the pool.

    Type Parameters

    • T

    Parameters

    • ComponentClass: Class<T>

      The type of component wanted.

    Returns T

    The component.

Generated using TypeDoc