MCPcopy Create free account
hub / github.com/angular/dev-infra / set

Method set

github-actions/saucelabs/set-saucelabs-env.js:2701–2710  ·  view source on GitHub ↗
(sessionKey, session)

Source from the content-addressed store, hash-verified

2699 return this._sessionCache.get(sessionKey);
2700 }
2701 set(sessionKey, session) {
2702 if (this._maxCachedSessions === 0) {
2703 return;
2704 }
2705 if (this._sessionCache.size >= this._maxCachedSessions) {
2706 const { value: oldestKey } = this._sessionCache.keys().next();
2707 this._sessionCache.delete(oldestKey);
2708 }
2709 this._sessionCache.set(sessionKey, session);
2710 }
2711 };
2712 }
2713 function buildConnector(_a) {

Callers

nothing calls this directly

Calls 4

nextMethod · 0.45
keysMethod · 0.45
deleteMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected