I'm working on a custom loader with asynchronous load promises, I want to change the priority of a specific promise function, can this be achieved using current code?
I managed to achieve something by queuing up the promise function again with updated priority, but this loads the item twice.
There could maybe be a .setPriority(fn, {priority}) method that could accept the original function you passed to .add() (for ID purposes) and let you change the priority.
I'm working on a custom loader with asynchronous load promises, I want to change the priority of a specific promise function, can this be achieved using current code?
I managed to achieve something by queuing up the promise function again with updated priority, but this loads the item twice.
Thanks.