Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepend task to shared chain #16

Open
dasavick opened this issue Nov 19, 2019 · 1 comment
Open

Prepend task to shared chain #16

dasavick opened this issue Nov 19, 2019 · 1 comment

Comments

@dasavick
Copy link

dasavick commented Nov 19, 2019

Is it currently possible to insert into shared chain at the beginning, not the end? I'm using taskchain for queue-like thing and I need to make some tasks high priority.

In the current scenario, I'm adding things to the queue like this:

sharedChain.async(..).asyncFirstCallback(..).sync(..).execute()
@aikar
Copy link
Owner

aikar commented Nov 19, 2019

Currently no, but PR's welcome for something like newSharedChain(id, true) where true = queueHead that defaults to false.

dasavick added a commit to OkaeriPoland/okaeri-tasker that referenced this issue Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants