Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Suggestion: priorities in IdleQueue #15

Open
dagoltz opened this issue Jun 30, 2019 · 0 comments
Open

Suggestion: priorities in IdleQueue #15

dagoltz opened this issue Jun 30, 2019 · 0 comments

Comments

@dagoltz
Copy link

dagoltz commented Jun 30, 2019

It would be nice to be able to add prioritized tasks to an IdleQueue.
We currently have a use case to preload components and would like to preload them by priority - not by order of insertion.
This could either be included in IdleQueue (with the default behavior of a regular queue when no priorities provided) or in a new class: IdlePriorityQueue.

I am willing to create a PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant