Study Notes
search
Ctrlk
  • Introduction
  • Architecture & System Design
    • Messaging Systems
    • RPC Frameworks
    • Scalable Web Application Architecture
    • Parallel vs Concurrent
    • Concurrency
    • Load Balancing - Nginx
    • REST API
    • WebSockets
    • Streaming
    • Serialization
  • Programming Language
    • JavaScript & Node.jschevron-right
      • Node.js Promises
      • Node.js Async Flow Control
      • Node.js Profiling
    • Java
    • Erlang
    • Python
    • Golangchevron-right
  • Software Engineering
    • Design Patterns
    • Unit Testing
    • Legacy Code
    • Agile & Scrum
  • Database
    • NoSQL
    • SQL
  • DevOps & Tools
    • Version Control - Git
    • Shell - zsh, bash
    • Docker
    • Linux Package Management - YUM
    • Linux Command Line Tools
  • Security
    • OWASP Security
  • AI, ML, DL, CV, NLP
    • Deep Learning
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Programming Languagechevron-right
  2. JavaScript & Node.js

Node.js Async Flow Control

JavaScript asynchronous control flow is a very interesting topic, and several approaches has been developed such as callback, promise, generator, async/await.

hashtag
General

  • StuQ分享专题《深入浅出js(Node.js)异步流程控制》arrow-up-right

hashtag
Promises

  • Coroutine Event Loops in Javascriptarrow-up-right

  • Promise-Based Coroutines in Node.jsarrow-up-right

  • Best Practices for Using Promises in JSarrow-up-right

  • Flow Control with Promisesarrow-up-right

  • Promise Anti-Patternsarrow-up-right

hashtag
Bluebird (Promise/A+ library)

  • *Bluebird Collection Methods, mapSeries, each, map, allarrow-up-right

hashtag
Generators

  • yield 和 yield*arrow-up-right

hashtag
Async/Await

  • Async Functionsarrow-up-right

  • Async/Await: The Hero JavaScript Deservedarrow-up-right

  • Slides: ES7 Async/Awaitarrow-up-right

  • Understanding Javascript Async Awaitarrow-up-right

  • Understand promises before you start using async/awaitarrow-up-right

  • Async javascript is much more fun when you memoize.arrow-up-right

  • Async and Awaitarrow-up-right

PreviousNode.js Promiseschevron-leftNextNode.js Profilingchevron-right

Last updated 5 years ago

Was this helpful?

  • General
  • Promises
  • Bluebird (Promise/A+ library)
  • Generators
  • Async/Await

Was this helpful?