Single Nitro task instance
I have a nitro task which I run every minute that performs some complex logic.
I want to make sure there is only one instance running at a time, e.g if the task is running and a minute is passed by, nuxt will trigger another task, which I need to return immediately as there is another active task.
If there are no active task - then it should run
I want to make sure there is only one instance running at a time, e.g if the task is running and a minute is passed by, nuxt will trigger another task, which I need to return immediately as there is another active task.
If there are no active task - then it should run
