Learn how to implement a queue data structure by creating a printer network in javascript while using promises to handle sequential asynchronous task

source code:
https://github.com/ECorreia45/tutorials-files/blob/master/queue-printer-network.js

timeline:

  • 0:00 - queue implementation
  • 1:01 - testing queue implementation
  • 1:33 - printer with queue
  • 2:49 - testing printer queue
  • 3:49 - printer network with queue
  • 4:18 - strategy explanation
  • 4:41 - printer network resume…
  • 6:02 - testing printer network queue

#javascript

Queue Implementation in Javascript + printer network + promise sequential asynchronous task
1.60 GEEK