Caches resource existence in a WeakMap tied to the ResourceIdentifier object.
WeakMap
ResourceIdentifier
Checks whether a resource exists in this ResourceSet.
Identifier of resource to check.
A promise resolving if the resource already exists.
Caches resource existence in a
WeakMap
tied to theResourceIdentifier
object.