We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d704a65 commit 5e514f0Copy full SHA for 5e514f0
lib/environment.js
@@ -1409,7 +1409,20 @@ class Environment extends Base {
1409
);
1410
});
1411
}
1412
+
1413
+ /**
1414
+ * Add priority
1415
+ * @param {string} priority
1416
+ * @param {string} before
1417
+ */
1418
+ addPriority(priority, before) {
1419
+ if (this.env.runLoop.queueNames.includes(priority)) {
1420
+ return;
1421
+ }
1422
+ this.env.runLoop.addSubQueue(priority, before);
1423
1424
1425
1426
Object.assign(Environment.prototype, resolver);
1427
Object.assign(Environment.prototype, composability);
1428
Object.assign(Environment.prototype, spawnCommandMixin);
0 commit comments