Tuesday, October 10th, 2017
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.
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.