Caches resource existence in a WeakMap tied to the ResourceIdentifier object.

Hierarchy

  • CachedResourceSet

Implements

Constructors

Properties

Methods

Constructors

Properties

cache: WeakMap<ResourceIdentifier, boolean>
source: ResourceSet

Methods

  • Check if a resource exists in this ResourceSet.

    Returns

    A promise resolving if the resource already exists.

    Parameters

    Returns Promise<boolean>