Full Stack Developer, mainly working in .NET with web technologies and mobile (Xamarin).
WWDC14 Attendee, when Swift was presented, a bit rusty but can work in Swift too.
Hmm 🤔 Still not able to make it work. Sorry for being a noob. I have tried placing this code in top and bottom of the js: codepen.io/jon-erik-josephsen-the-...
Full Stack Developer, mainly working in .NET with web technologies and mobile (Xamarin).
WWDC14 Attendee, when Swift was presented, a bit rusty but can work in Swift too.
This is a replacement of the sample seen in the article. You have to keep the previous options, since I've cut them in the sample for readability.
Hmm 🤔 Still not able to make it work. Sorry for being a noob. I have tried placing this code in top and bottom of the js:
codepen.io/jon-erik-josephsen-the-...
Ok you just missed the async function: codepen.io/matteobruni/pen/qBxvjLK
Or you can achieve something a little bit different using emitters life options: codepen.io/matteobruni/pen/eYVXRxR
Perfect! Thank you very much! 😁