Decorator to run a function in a different process
I use this technique when I need to run multiple functions inside different processes.
The decorator is used like this:
And the implementation looks like this:
I use this technique when I need to run multiple functions inside different processes.
The decorator is used like this:
And the implementation looks like this: