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
Whats the relationship between asys and the thread event loop? I was debugging an issue from how I've integrated the two but then realised I've made the assumption that they're related. E.g. is the following expected to work?
In my implementation this throws an exception as it piggy backs off the thread event loop, which Thread.create doesn't have. Is it expected that this should work? If so how should the current thread event loop and the asys event loop work together.
If the above should work then should there be a change in haxe 5 for threads to always have an event loop? I'm not sure if there was a specific need for a thread without an event loop outside of precautions in case it would break things.
This sort of event loop integration was briefly mentioned in the coroutines PR, so there might be a lot of overlap here.
The text was updated successfully, but these errors were encountered:
Whats the relationship between asys and the thread event loop? I was debugging an issue from how I've integrated the two but then realised I've made the assumption that they're related. E.g. is the following expected to work?
In my implementation this throws an exception as it piggy backs off the thread event loop, which
Thread.create
doesn't have. Is it expected that this should work? If so how should the current thread event loop and the asys event loop work together.If the above should work then should there be a change in haxe 5 for threads to always have an event loop? I'm not sure if there was a specific need for a thread without an event loop outside of precautions in case it would break things.
This sort of event loop integration was briefly mentioned in the coroutines PR, so there might be a lot of overlap here.
The text was updated successfully, but these errors were encountered: