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

Method set

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

Source from the content-addressed store, hash-verified

2682 if (ref !== void 0 && ref.deref() === void 0) {
2683 this._sessionCache.delete(key);
2684 }
2685 });
2686 }
2687 get(sessionKey) {
2688 const ref = this._sessionCache.get(sessionKey);
2689 return ref ? ref.deref() : null;
2690 }
2691 set(sessionKey, session) {
2692 if (this._maxCachedSessions === 0) {
2693 return;

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
registerMethod · 0.45

Tested by

no test coverage detected