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

Function __awaiter4

github-actions/browserstack/set-browserstack-env.js:20050–20076  ·  view source on GitHub ↗
(thisArg, _arguments, P, generator)

Source from the content-addressed store, hash-verified

20048 * @returns {Summary} summary instance
20049 */
20050 emptyBuffer() {
20051 this._buffer = "";
20052 return this;
20053 }
20054 /**
20055 * Adds raw text to the summary buffer
20056 *
20057 * @param {string} text content to add
20058 * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)
20059 *
20060 * @returns {Summary} summary instance
20061 */
20062 addRaw(text, addEOL = false) {
20063 this._buffer += text;
20064 return addEOL ? this.addEOL() : this;
20065 }
20066 /**
20067 * Adds the operating system-specific end-of-line marker to the buffer
20068 *
20069 * @returns {Summary} summary instance
20070 */
20071 addEOL() {
20072 return this.addRaw(import_os.EOL);
20073 }
20074 /**
20075 * Adds an HTML codeblock to the summary buffer
20076 *
20077 * @param {string} code content to render within fenced code block
20078 * @param {string} lang (optional) language to syntax highlight code
20079 *

Callers 1

execMethod · 0.70

Calls 3

stepFunction · 0.70
nextMethod · 0.45
applyMethod · 0.45

Tested by

no test coverage detected