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

Thread context.Context into Serve() #307

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Vaelatern
Copy link

This causes no alteration to the user facing API, since all exported functions have their existing API surface retained. Under the hood they just create a context.Background() and pass that around.

I welcome guidance on how to test this correctly. I've tested in my own current fuse project and it works there. I've not tested this extensively.

This would close #306

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.

Serve() never ends - Consider a ServeContext() that takes context.Context?
1 participant