UNPKG

@abaplint/runtime

Version:
14 lines 406 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.wait = wait; async function wait(options) { await new Promise(r => setTimeout(r, 50)); while (true) { if (options.cond() === true) { break; } await new Promise(r => setTimeout(r, 500)); console.log("WAIT waiting another round"); } } //# sourceMappingURL=wait.js.map