Dot catch! Dot catch!
- David Wood
Many of us know about the benefits of offloading concurrent I/O operations through the use of callbacks, libraries such as async and bluebird, or using the new Promise support in browsers and Node.js. But, do you know how these work, and when you should use them?
In this talk we will review the benefits, pitfalls, and ways to implement
await, how this differs from callbacks and asynchronous libraries,
and take a brief look at how these have been implemented to gain a better
understanding of what’s going on under the hood.
At the end of this talk you will be able to make more informed decisions about
the use of synchronous API methods such as readFileSync, choosing to listen to
error events, and why wrapping function calls in
try..catch may or
may not be useful.
In 2016 Dave helped write Hackbot and the Hack24-API for use at various hack events, and spends his free time dabbling in many unfinished projects. He is an advocate for TypeScript, prefers to avoid .NET (at last), and recently converted to veganism to help save the world from self destruction.
If you fancy helping out with getting this group off the ground, please feel free to drop us a mail - all help would be gratefully received!
Sign up to our mailing list to get more info on what is going on with the group - we'll keep you up to date with upcoming talks, and advance notice of dates.
If you'd like to submit a proposal for a talk, or have any suggestions for topics you'd like to see, please add a ticket over at github.com/nottsjs/speakers.