Represents a pointer that can be assigned to another object asynchronously without updating reference.

  • Type Parameters

    • T extends object

      The type of the object reference.

    Parameters

    • Optionalref: T

      The object reference to be assigned.

    Returns { pointer: {}; setPointer(ref: T): void }

    • The pointer object with instance and setPointer methods.