Published: August 9, 2024
1
0
0

@JagexAsh Good morning Mod Ash! I was just wondering, are you use "getqueue" inside of a "queue" block of code? I believe this would cause a race condition if possible; maybe there is protection against that? Also probably applies to "clearqueue" as well? Thank you!

@JagexAsh able to use** sorry :P

@NobodyImpo74600 You can. It's quite common for a queue to use clearqueue() when it executes, thus getting rid of any duplicate requests for it. And there's nothing wrong with using getqueue() to ask if any more requests are pending beyond the current one.

@JagexAsh Ahh very interesting! Thank you very much for your time! :)

Share this thread

Read on Twitter

View original thread

Navigate thread

1/4