Open treepumpkin opened 1 week ago
Interesting, thank you for pointing this out. Does the await here yield the execution back and return to this function only after the response comes in? Quick look at the docs it looks like that's the case. The other thing I'd need to investigate is the async() call for a method, is that something that needs to be implemented on the method level?
If you're interested in working on a pull request on this, we'd be happy to include that! But completely fine if not, we'll keep it in the issues then and try to come back to this at a later point
Godot 4 introduced the
await
keyword for coroutines, it would be nice to use it in this SDK, too. Here is an example with thelogin_as_new_guest_user
call.Current SDK usage:
Desired SDK usage (same pattern as in W4 Cloud's SDK )