Get a workshop ticket


Asynchronous JavaScript with Asim Hussain.

In this full-day JavaScript workshop on Wednesday June 6 2018, Asim Hussain will be showing and teaching you everything about Asynchronous JavaScript.

Can you fix the below code to make it work?

function doAsyncTask(cb) {

doAsyncTask(_ => console.log(message));

let message = "Callback Called";

Ok, that was easy. Now can you do it without moving the message variable up? If you don’t know how to do that yet, this workshop is for you 😊

Understanding the asynchronous nature of JavaScript is key to mastering the language and writing performant applications. With so many different solutions to choose from, selecting the right asynchronous pattern for your own code can be a daunting prospect. It's doubly difficult when reading other people’s code, since that could have been written in any number of patterns, so it pays to know them all.

It's triply difficult once you realise that the underlying logic is different between a browser like Chrome and Node, even though both use the same V8 engine underneath.

The workshop

In this workshop we'll first explain what asynchronous and synchronous really means, you’ll understand it from a hardware level. You’ll get why Node applications are so incredibly fast.

Then we'll cover the various asynchronous patterns in depth, callbacks, promises, generators and the new async/await. You'll see how they might have subtly different effects depending on the platform you are running on.
For each of the different asynchronous patterns we'll cover practical real-world use cases with plenty of lab time dedicated to practicing what you've learnt.

We’ll finish by going deep into the event architecture itself, we'll cover the unique differences between the browsers and node and you'll know how async code is actually handled in JavaScript engines.

By the end of the workshop you will be able to confidently read and write asynchronous code using all the common patterns as well as understand when to use which pattern to make your application run as fast as possible.

What you’ll learn

V8 vs Node vs Chrome

What is Asynchronous?

Async Patterns

Event Loops

Who it’s for

This workshop is designed for developers who already have a good working knowledge of JavaScript.

What to bring

Please bring a laptop with your favorite text editor.


This workshop costs 1888HKD for a full-day workshop including lunch, snacks and drinks. Get your ticket now!

Asim Hussain is a developer, trainer and speaker with over 16 years experience working for organisations such as the European Space Agency, Google and now Microsoft, where he is a Senior Cloud Developer Advocate.

He's also the author of the book and video series "Angular: From Theory to Practice" (now free!) and has taught over 50,000 students Angular, JavaScript and Ionic through his site

Asim Hussain profile picture

Workshop schedule

Doors open
Morning Session
Afternoon Session
The End

There will be coffee & snack breaks in between.

Lunch, drinks and snacks are included in this workshop. The workshop is taking place on Wednesday June 6, 2017 in North Point.

Any questions? Feel free to email us at

By buying a ticket you agree to the Code of Conduct.
Terms and conditions apply.

Get your ticket

Want to add a workshop to your existing conference or combination ticket? Send us an email at to get a combination discount.