export class ProxyRequestContextStore {
    pending = new Map();
    set(id, ctx) {
        this.pending.set(id, ctx);
    }
    get(id) {
        return this.pending.get(id);
    }
    delete(id) {
        const ctx = this.pending.get(id);
        if (ctx)
            this.pending.delete(id);
        return ctx;
    }
    clear() {
        this.pending.clear();
    }
    get size() {
        return this.pending.size;
    }
}
//# sourceMappingURL=proxy-request-context.js.map