A set containing resources.

interface ResourceSet {
    hasResource: ((identifier: ResourceIdentifier) => Promise<boolean>);
}

Hierarchy (view full)

Implemented by

Properties

Properties

hasResource: ((identifier: ResourceIdentifier) => Promise<boolean>)

Checks whether a resource exists in this ResourceSet.

Type declaration

    • (identifier): Promise<boolean>
    • Parameters

      Returns Promise<boolean>

      A promise resolving if the resource already exists.