[Suggestion] Download Queue System #1
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: jadedctrl/Pogger#1
Ŝarĝante…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello! This is less of an issue and more a suggestion for a queue system that you mentioned in your TODO file to simplify download handling. For a simple queue implementation, I would take a peak at Haiku's BJob class found in the Support Kit. For convenience, here's a link to the header: https://github.com/haiku/haiku/blob/master/headers/os/support/Job.h
There's also a private JobQueue class, but I'd copy its implementation into your own files as it's still a private class that originated from Haiku's Package Kit: https://github.com/haiku/haiku/blob/master/src/kits/support/JobQueue.cpp
Hope this helps you get started!
Thanks, that looks like just like what I was looking for!