Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
/* | |
*? roblem Statement | |
Consider we have multiple async tasks A, B, C, D, and E (not promises). A, B, and C are independent tasks, while D depends on A and B to perform its task, and E depends on D and C to perform its task. | |
ite a Node.js class to handle these asynchronous tasks and their dependencies. In the end, run all the tasks concurrently and print the results. | |
*/ | |
class AsyncTasks { | |
constructor() { | |
this.results = {}; | |
this.concurrencyLimit = 2; |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |