mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #915] [FEATURE REQUEST] can you open the attribute opts of task #2484
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#2484
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @pihc on GitHub (Sep 11, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/915
Originally assigned to: @hibiken on GitHub.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I hope to use some attributes defined in the task within the EnqueueContext method. However, because the opts of the task are not accessible, it is inconvenient for me to use them.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Make the opts attribute of the task accessible.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
@Joker666 commented on GitHub (Oct 6, 2024):
Taskdoesn't have anyopts. What attributes are you looking for?@pihc commented on GitHub (Oct 24, 2024):
I want to change this property to Opts. I want to be able to override the initially defined properties when making dynamic calls.
@kamikazechaser commented on GitHub (Oct 25, 2024):
You can already pass in functional options to a task. As many as you want.