You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the server class is already wrapping the socket.io functions would it be possible to return a promise to keep true to the async await style. Especially since:
an Async Function always returns a Promise. That promise is rejected in the case of uncaught
exceptions, and it’s otherwise resolved to the return value of the async function.
This enables us to invoke an async function and mix that with regular promise-based continuation
as well.
Since the server class is already wrapping the socket.io functions would it be possible to return a promise to keep true to the async await style. Especially since:
https://ponyfoo.com/articles/understanding-javascript-async-await
The text was updated successfully, but these errors were encountered: