- Explain what asynchronous behavior is and why it is important.
- Use the file system library asynchronously
print 1
print 2
print 3
goGetData('sticky note on the front door', function(error, info){
print info
})
print 4
print 5
print 6
print 1
print 2
print 3
goGetData('sticky note on the front door', function(error, info){
print info
goGetData('sticky note on the instructor office door', function(error, data){
print data
})
})
print 4
print 5
print 6
print 1
print 2
print 3
goGetData('sticky note on the front door', function(error, info){
print info
})
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
With your groups, complete the following exercise -> https://github.com/gSchool/file-system-to-do