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
I plan on implementing Coroutine Dispatchers for the Minecraft main threads (was thinking about doing the Client thread and the Main/Server thread, each where applicable of course), and submitting a PR here.
However, I am not sure whether to assign one to Dispatchers.Main, which is confined to the Main thread operating with UI objects (from the docs).
The reason I'm not sure is because while the doc is pretty clear about this, when we talk about the main thread in mc we're usually talking about the server thread (integrated server on single-player), which might lead to confusion.
Any thoughts?
The text was updated successfully, but these errors were encountered:
I'm pretty sure the main thread on the client is the render thread (especially since there's not always an integrated server running), and that's what I'd think of when someone says "main thread"
I plan on implementing Coroutine Dispatchers for the Minecraft main threads (was thinking about doing the Client thread and the Main/Server thread, each where applicable of course), and submitting a PR here.
However, I am not sure whether to assign one to
Dispatchers.Main
, which is confined to the Main thread operating with UI objects (from the docs).The reason I'm not sure is because while the doc is pretty clear about this, when we talk about the main thread in mc we're usually talking about the server thread (integrated server on single-player), which might lead to confusion.
Any thoughts?
The text was updated successfully, but these errors were encountered: