Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewstokeley/8295f45b4b2979f73ddfa75c793adeb1 to your computer and use it in GitHub Desktop.
Save matthewstokeley/8295f45b4b2979f73ddfa75c793adeb1 to your computer and use it in GitHub Desktop.
Single-threaded-processing-in-5-seconds.md
// the thread of a processor is like a queue
- - - - -
// processes take various amounts of time to execute
--- -- - ------- -
// in asynchronous programming, processes can 'jump' in line
-- -- **** -- ----- -
// this is different than parallel processing, which allows spawning
-- -- -- --- -- -- 
        \
         - -- --- -
// in javascript, promises, or async / await function modifiers are used to schedule processes without blocking other processes
--- --- promise -- awaiting -------- resolution ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment