Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Feature: Background task support #114

Open
guybedford opened this issue Apr 1, 2022 · 0 comments
Open

Feature: Background task support #114

guybedford opened this issue Apr 1, 2022 · 0 comments

Comments

@guybedford
Copy link
Owner

Long-running tasks like deno --watch or servers can be useful to depend on to ensure they are initialized along with the task being run.

It could be useful to support a background = true option for tasks, where the task is invoked, but completion is not waited on before trrigering the parent task that depends on it.

Further, it can be useful to have the ability to automatically restart the task when it fails or to have background tasks that get restarted when their dependencies change. Perhaps background = 'watched' or background = 'keepalive' could be useful ways to achieve these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant