Improve data flow in the async library

This commit is contained in:
Vasco-jofra
2025-06-15 17:59:49 +02:00
parent d83cbde1cb
commit 8c4dbca23c
5 changed files with 158 additions and 46 deletions

View File

@@ -1,7 +1,15 @@
let async_ = require('async');
let waterfall = require('a-sync-waterfall');
var source, sink, somethingWrong;
function source() {
return 'TAINT'
}
function sink(x) {
console.log(x)
}
var somethingWrong;
async_.waterfall([
function(callback) {