Function getRefsResolvingTo

  • Gets all references that resolve to a given object.

    Type Parameters

    • T extends object

    Parameters

    • target: T

      Node the references point to.

    • OptionalrefType: RefConstructor<T>

      Pass it to filter by only references of a given type, or omit / pass undefined to get references of any type.

    • Optionaloptions: {
          updateAllRefsIfNeeded?: boolean;
      }

      Options.

      • OptionalupdateAllRefsIfNeeded?: boolean

    Returns ObservableSet<Ref<T>>

    An observable set with all reference objects that point to the given object.

    T Referenced object type.