Files
BeWoPlaner/BeWoPlanerMobil/node_modules/seq/examples/join.js
Lyndon Jetten 88fd24f3a9 MoK:
- Bug beim Übernehmen eines Termins in die Zeiterfassung, wenn man Stunden als Zeiteinheit ausgewählt hatte, behoben.
- Berichte und Mitarbeiterstundenkonto eingebaut
- Node-Module optimiert (sehr viele gelöscht)
2023-05-15 11:54:13 +02:00

19 lines
443 B
JavaScript

var Seq = require('seq');
Seq()
.par(function () {
var that = this;
setTimeout(function () { that(null, 'a') }, 300);
})
.par(function () {
var that = this;
setTimeout(function () { that(null, 'b') }, 200);
})
.par(function () {
var that = this;
setTimeout(function () { that(null, 'c') }, 100);
})
.seq(function (a, b, c) {
console.dir([ a, b, c ])
})
;