Hi,
I’m trying to set up a PlayCanvas project that talks to a Nakama server for realtime multiplayer functionality. I’m following along a very similar structure to the one in this tutorial, just using the nakamajs client instead of socket.io: Real Time Multiplayer | Learn PlayCanvas
I notice that the Nakama Docs using async/await calls to wait for a socket to connect, amongst other things. Is there any way I can do this inside the initialize() function in my script?