A set containing resources.

Hierarchy

Implemented by

Properties

Properties

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

Type declaration

    • (identifier: ResourceIdentifier): Promise<boolean>
    • Check if a resource exists in this ResourceSet.

      Returns

      A promise resolving if the resource already exists.

      Parameters

      Returns Promise<boolean>