MCPcopy Create free account
hub / github.com/appium/appium / drain

Method drain

packages/support/lib/internal/write-queue.ts:79–82  ·  view source on GitHub ↗

* Waits for all jobs. * * @throws {unknown} The first failure of any job

()

Source from the content-addressed store, hash-verified

77 * @throws {unknown} The first failure of any job
78 */
79 async drain(): Promise<void> {
80 await this.settle();
81 this.throwIfFailed();
82 }
83
84 /** Waits for all jobs without reporting failures. */
85 async settle(): Promise<void> {

Callers 4

extractZipStreamFunction · 0.95
extractMethod · 0.45
extractSymlinkMethod · 0.45

Calls 2

settleMethod · 0.95
throwIfFailedMethod · 0.95

Tested by

no test coverage detected