export class ResourceCache {
    resources = new Map();
    get(key) { return this.resources.get(key); }
    set(key, value) { this.resources.set(key, value); return value; }
    clear() { this.resources.clear(); }
    get size() { return this.resources.size; }
}
//# sourceMappingURL=ResourceCache.js.map