MCPcopy Index your code
hub / github.com/callstack/agent-device / shutdown

Method shutdown

src/cloud-webdriver/runtime.ts:208–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206 }
207
208 async shutdown(): Promise<void> {
209 await Promise.allSettled(
210 [...this.sessionsByLeaseId.values()].map(async (session) => await this.closeSession(session)),
211 );
212 this.sessionsByLeaseId.clear();
213 }
214
215 private async allocate(
216 lease: DeviceLease,

Callers 5

device.tsFile · 0.45
bindAdminCommandsFunction · 0.45
shutdownFunction · 0.45

Calls 2

closeSessionMethod · 0.95
valuesMethod · 0.80

Tested by

no test coverage detected