Skip to content

Threading decorators #28

New issue

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

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

Already on GitHub? # to your account

Closed
caffeine-addictt opened this issue Dec 13, 2023 · 0 comments · Fixed by #31
Closed

Threading decorators #28

caffeine-addictt opened this issue Dec 13, 2023 · 0 comments · Fixed by #31
Assignees
Labels
Type: Feature Suggest a new feature.

Comments

@caffeine-addictt
Copy link
Member

Feature Request

Your issue may already be reported!
Please check out our active issues before creating one.

Is Your Feature Request Related to an Issue?

In development, people may not want to explicitly wrap function every single time and would prefer not to use private functions with the public function wrapping the private function.

def _doWork(*args, **kwargs): ...

def doWork(*args, **kwargs):
  job = Thread(_doWork, args = args, kwargs = kwargs)
  return job

Describe the Solution You'd Like

An example of the feature

@thread.threaded
def doWork(*args, **kwargs): ...

#OR

@thread.threaded(args = ['defaultArg'], arg_mode = 'join | replace')
def doWork(*args, **kwargs): ...
@caffeine-addictt caffeine-addictt added the Type: Feature Suggest a new feature. label Dec 13, 2023
@caffeine-addictt caffeine-addictt self-assigned this Dec 13, 2023
@caffeine-addictt caffeine-addictt moved this to Backlog in Thread Overview Dec 13, 2023
@caffeine-addictt caffeine-addictt moved this from Backlog to Ready in Thread Overview Dec 13, 2023
@caffeine-addictt caffeine-addictt moved this from Ready to In progress in Thread Overview Dec 14, 2023
@caffeine-addictt caffeine-addictt added the Status: WIP Currently being worked on. label Dec 14, 2023
@caffeine-addictt caffeine-addictt moved this from In progress to In review in Thread Overview Dec 15, 2023
@caffeine-addictt caffeine-addictt added Status: Awaiting Review Ready for review. and removed Status: WIP Currently being worked on. labels Dec 15, 2023
@caffeine-addictt caffeine-addictt mentioned this issue Dec 15, 2023
12 tasks
@github-project-automation github-project-automation bot moved this from In review to Done in Thread Overview Dec 15, 2023
@caffeine-addictt caffeine-addictt removed the Status: Awaiting Review Ready for review. label Mar 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Type: Feature Suggest a new feature.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant