Function createPointer

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: (Anonymous class)<T>;
        setPointer(ref: T): void;
    }

    • The pointer object with instance and setPointer methods.
    • pointer: (Anonymous class)<T>
    • setPointer:function
      • Parameters

        • ref: T

        Returns void