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

Add custom stop function to Server #229

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Add custom stop function to Server #229

merged 1 commit into from
Dec 11, 2024

Conversation

Vamsi-Mundra
Copy link
Contributor

@Vamsi-Mundra Vamsi-Mundra commented Dec 6, 2024

Reasons for making these changes

Currently we are not having an option to add a stop function for Context Server. With this addition you can add different stopFunction that can be executed when the server is stopping.

Description of changes

  • added stopFunc ...func(error) argument to NewContextServer

@Vamsi-Mundra Vamsi-Mundra requested review from slizco and ypaq December 6, 2024 18:49
Copy link
Contributor

@slizco slizco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Vamsi-Mundra Vamsi-Mundra merged commit 868de41 into master Dec 11, 2024
4 checks passed
@Vamsi-Mundra Vamsi-Mundra deleted the vmc-add-stopFunc branch December 11, 2024 17:39
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.

2 participants