Skip to content

Comments

Support afterGracefulShutdown callback, clarify usage#57

Open
kibertoad wants to merge 3 commits intohemerajs:masterfrom
kibertoad:feat/on-close-callback
Open

Support afterGracefulShutdown callback, clarify usage#57
kibertoad wants to merge 3 commits intohemerajs:masterfrom
kibertoad:feat/on-close-callback

Conversation

@kibertoad
Copy link
Contributor

Current behaviour is likely not what majority of users are going to expect - callback is only for preparing/starting graceful shutdown, but not for wrapping things up after requests were drained and no new ones are going to arrive. Clarified documentation and provided a new callback for those who need post-shutdown hook for graceful termination cases.

fixes #56

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

Successfully merging this pull request may close these issues.

Is the current sequence correct?

1 participant