MCPcopy Create free account
hub / github.com/angular/dev-infra / [kClose]

Method [kClose]

github-actions/browserstack/set-browserstack-env.js:8052–8062  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8050 return this[kNeedDrain] < 2;
8051 }
8052 [kClose]() {
8053 return __async(this, null, function* () {
8054 return new Promise((resolve2) => {
8055 if (this[kSize]) {
8056 this[kClosedResolve] = resolve2;
8057 } else {
8058 resolve2(null);
8059 }
8060 });
8061 });
8062 }
8063 [kDestroy](err) {
8064 return __async(this, null, function* () {
8065 return new Promise((resolve2) => {

Callers

nothing calls this directly

Calls 7

__asyncFunction · 0.70
__privateGetFunction · 0.70
isEmptyMethod · 0.45
closeMethod · 0.45
pushMethod · 0.45
clearMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected