You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, there is no way to control the execution of a long running task. The manager does not respect cancellation of the context of the task and it's not possible to kill the task from any of the lifecycle hooks.
While it's a valid argument that a task should continue it's execution if ran from the request of a context after that context has been cancelled, I believe some control is needed over that task.
Describe the solution you'd like
To be able to cancel a single task. I think a possible solution would be for the RunTask function to return a cancel func.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, there is no way to control the execution of a long running task. The manager does not respect cancellation of the context of the task and it's not possible to kill the task from any of the lifecycle hooks.
While it's a valid argument that a task should continue it's execution if ran from the request of a context after that context has been cancelled, I believe some control is needed over that task.
Describe the solution you'd like
To be able to cancel a single task. I think a possible solution would be for the
RunTask
function to return acancel
func.The text was updated successfully, but these errors were encountered: