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]: Create the shutdown method in ServiceProvider class #30

Closed
jlenon7 opened this issue Oct 25, 2022 · 0 comments · Fixed by #31
Closed

[Feature]: Create the shutdown method in ServiceProvider class #30

jlenon7 opened this issue Oct 25, 2022 · 0 comments · Fixed by #31
Labels
feature New feature or request

Comments

@jlenon7
Copy link
Member

jlenon7 commented Oct 25, 2022

🚀 Feature Proposal

Create the shutdown method in ServiceProvider class.

Motivation

This method will be called when the application starts the graceful shutdown process.

Example

async shutdown(signal) {
  await Database.closeAll()
}
@jlenon7 jlenon7 added the feature New feature or request label Oct 25, 2022
@jlenon7 jlenon7 linked a pull request Oct 26, 2022 that will close this issue
7 tasks
@jlenon7 jlenon7 closed this as completed Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant