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

Function waitForDrain

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

Source from the content-addressed store, hash-verified

6892 } catch (er) {
6893 err = er;
6894 }
6895 }
6896 writer.destroy(err);
6897 if (err && (err.code !== "UND_ERR_INFO" || err.message !== "reset")) {
6898 util.destroy(body, err);
6899 } else {
6900 util.destroy(body);
6901 }
6902 };
6903 body.on("data", onData).on("end", onFinished).on("error", onFinished).on("close", onClose);
6904 if (body.resume) {

Callers 1

writeIterableFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected