Function: getRefsResolvingTo()
function getRefsResolvingTo<T>(
target,
refType?,
options?
): ObservableSet<Ref<T>>;
Gets all references that resolve to a given object.
Type Parameters
| Type Parameter | Description |
|---|---|
T extends object | Referenced object type. |
Parameters
| Parameter | Type | Description |
|---|---|---|
target | T | Node the references point to. |
refType? | RefConstructor<T> | Pass it to filter by only references of a given type, or omit / pass undefined to get references of any type. |
options? | { updateAllRefsIfNeeded?: boolean; } | Options. |
options.updateAllRefsIfNeeded? | boolean | - |
Returns
ObservableSet<Ref<T>>
An observable set with all reference objects that point to the given object.