async-monitor.js
v1.0.9
Published
A lightweight and efficient monitoring engine designed to seamlessly track and manage hierarchically organized asynchronous JavaScript functions. Perfect for developers looking to streamline and gain insights into complex async workflows, ensuring reliabl
Downloads
319
Maintainers
Readme
async-monitor.js
(pseudo code)
<script>
const watches = new Group();
watches.addWatch({
parent: undefined,
child: 'a',
f: function_to_watch
});
...watches.addWatch();
watches.WatchAll();
</script>
── preparation step ├─ fetch data from ETL store: s1, fetch data from ETL store: s2 │ └─ build snowflake s1 and s2 │ └─
publish snowflake s1 and s2 ───────────────────────────┐ └─ fetch data from ETL store: s3 │ └─ build snowflake from s3 │
└─ publish snowflake s3 ──────────────────────────────────┤ └─ completed
Features
A lightweight and efficient monitoring engine designed to seamlessly track and manage hierarchically organized asynchronous JavaScript functions. Perfect for developers looking to streamline and gain insights into complex async workflows, ensuring reliable performance and easy debugging.
Examples
Work in progress!
Tests
npm install
To run the tests run:
npm test
If you want to add any feature or change existing features, you must run the
tests to make sure you didn't break anything else. Any pull request (PR) needs
to have updated passing tests for feature changes (or new passing tests for new
features or fixes) in src/<file>.test.ts
to be accepted. See
People
Maintainers: Manu Vanneste.