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

Sanic Server instance #1968

Closed
listaction opened this issue Nov 5, 2020 · 1 comment · Fixed by #1979
Closed

Sanic Server instance #1968

listaction opened this issue Nov 5, 2020 · 1 comment · Fixed by #1979

Comments

@listaction
Copy link

Does Sanic have any singleton type patterns which have a map of all the created servers and can it return the one that was created ?

basically:
Sanic.getServer('some_name')

@ahopkins
Copy link
Member

Would be interested to see a PR of something you have in mind.

@ahopkins ahopkins mentioned this issue Dec 10, 2020
@ahopkins ahopkins linked a pull request Dec 10, 2020 that will close this issue
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 a pull request may close this issue.

2 participants