Closed lugehorsam closed 3 years ago
This would be nice. I’ve had to add code to all my socket handlers to run on main thread.
@lugehorsam Looks good to me let's merge it in! 👍
Great fix, but can you also add this in the documentation too? It would be really helpful for new users.
@vivekmyyhash That's a good suggestion. We'll update the docs /cc @heroiclabs/devrel
Closes #80
For the default parameter to
CreateSocket
, I defaulteduseMainThread
to false. The upside is that behavior wont unexpectedly change for existing users. But the downside is that users have to opt-in for the most straightforward adapter. Was thinking we have a quick chat about this.