1.1.4 • Published 4 years ago
conflow v1.1.4
conflow
Advanced node.js control flow patterns and more.
Usage example
import { concurrent, delay } from 'conflow';
const q = concurrent(4);
function test() {
q.go(delay(0, 5000));
q.go(delay(1, 4000));
q.go(delay(2, 3000));
q.go(delay(3, 2000));
q.go(delay(4, 1000));
q.one((n) => console.log('one', n));
}
test();