How voxtech-byte/practice-asynchronous-javascript works
This repository is a JavaScript learning collection about asynchronous programming, not a deployed application. Its examples progress from callbacks and error handling to Promises, async/await, HTTP requests, parallel work, and event-loop scheduling. The README documents the main teaching topics; sampled files show runnable examples, including HTTP calls and task scheduling. Many examples are independent scripts rather than a connected runtime pipeline, so the graph shows documented topic relationships without implying that one example invokes another.
Main entry points: callbacks Callback examples · callback-hell.js Nested callbacks · promises Promise basics · chaining-promises.js Promise chains
Components 15
Callback Patterns
- Callback examples
src/callbacks - Callback errors
src/callbacks/error-handling.js - Nested callbacks
src/callbacks/callback-hell.js
Promise Techniques
- Promise basics
src/promises - Promise chains
src/promises/chaining-promises.js - Promise rejection
src/promises/handling-promise-rejection.js - Promise combinators
src/promises - Promisification
src/promises/promisify-any-js-func.js
Async Workflows
- Async await
src/callbacks/async-await-try-catch.js - HTTP examples
src/promises/http-req-fetch-api.js - Execution patterns
src/testing-promise-in-js
Event Loop
- Task queue
src/advanced-version-of-event-loop/a-closser-look-at-the-task-queue.js - Long-task handling
src/advanced-version-of-event-loop/handling-long-task-1.js - Task priorities
src/advanced-version-of-event-loop/what-about-task-priority.js
Other components
- Learner
Connections 10
- Learner → Callback examples: learns callbacks
README.md - Learner → Nested callbacks: studies nesting
README.md - Learner → Promise basics: learns Promises
README.md - Learner → Promise chains: studies chaining
README.md - Learner → Promise rejection: studies rejection
README.md - Learner → Promisification: studies conversion
README.md - Learner → Async await: learns async syntax
README.md - Learner → HTTP examples: studies HTTP
README.md - Learner → Task priorities: studies priorities
README.md - Learner → Execution patterns: compares execution
src/testing-promise-in-js/sequential-vs-parallel.js