-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
Type: FeatureSuggest a new feature.Suggest a new feature.
Description
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): ...
Metadata
Metadata
Assignees
Labels
Type: FeatureSuggest a new feature.Suggest a new feature.