https://oxidemod.org/threads/coroutines-not-working.18364/
https://umod.org/community/rust/9654-waiting-for-webrequest-callback
I would normally use coroutines but Oxide does not provide it I can see this by the lack of the ability to return yield and resume
ill try https://80.lv/articles/simple-multithreading-for-unity/ and post back if I find why I'm lagging my server
https://umod.org/community/rust/9654-waiting-for-webrequest-callback
I would normally use coroutines but Oxide does not provide it I can see this by the lack of the ability to return yield and resume
string res = "";
webrequest.Enqueue("https://google.com", "", (code, response) =>
{
res = response;
}, this);this may just be my bigO/networking failing elsewhere but it would be nice to see my 8 core rust server I'm paying for use the other 7 cores I know a few servers I play on that would agree
maybe this below would do it if it does not rely on MonoBehaviour
ill try https://80.lv/articles/simple-multithreading-for-unity/ and post back if I find why I'm lagging my server