Skip to content

Instantly share code, notes, and snippets.

@DrPsyFi
Forked from rogerwschmidt/file-system-async.md
Created April 2, 2018 16:32
Show Gist options
  • Save DrPsyFi/fc67e11d17a90aa12a4fda1f25d07bda to your computer and use it in GitHub Desktop.
Save DrPsyFi/fc67e11d17a90aa12a4fda1f25d07bda to your computer and use it in GitHub Desktop.

File system and asynchronous behavior

Objectives

  • Explain what asynchronous behavior is and why it is important.
  • Use the file system library asynchronously

What is asynchronous behavior is and why is it important?

print 1
print 2
print 3
goGetData('sticky note on the instructor office door', function(error, data){
  print data
}
print 4
print 5
print 6
  • With your groups, define what asynchronous behavior is, and explain why it is important

Use the file system library asynchronously

With your groups, complete the following exercise -> https://github.com/gSchool/file-system-to-do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment