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

Provide a way to handle long-running processes #131

Closed
SolarHorizon opened this issue Nov 16, 2023 · 1 comment · Fixed by #211
Closed

Provide a way to handle long-running processes #131

SolarHorizon opened this issue Nov 16, 2023 · 1 comment · Fixed by #211
Labels
enhancement New feature or request

Comments

@SolarHorizon
Copy link

Lune does not currently offer any way to handle long-running processes. It'd be nice if we could kill or suspend any processes we've spawned.

@filiptibell filiptibell added the enhancement New feature or request label Nov 16, 2023
@CompeyDev
Copy link
Contributor

CompeyDev commented Jun 18, 2024

Following #211, this can be implemented!

process.create would then be a non-blocking function which can return a kill() function in its return table.

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

Successfully merging a pull request may close this issue.

3 participants