| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:436dfe47-4d7c-6064-9abd-99059ebea057 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D9EA:260009:E0910D:12D359A:6A528E79 |
| html-safe-nonce | 2205b6c252c51b542deb4b52b222ac1dbf66fd56e76f4eb91b5639fd4c2a94d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUVBOjI2MDAwOTpFMDkxMEQ6MTJEMzU5QTo2QTUyOEU3OSIsInZpc2l0b3JfaWQiOiIyOTUxMTQ1NTk5MzYwMjA4NTA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ba2bc383338f115fc12b6a3a58e9c6ea4894593a270cf10bec9cb3288e305ac2 |
| hovercard-subject-tag | pull_request:84562513 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/asyncio/415/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/836e82905d6b8a02f4277c0baa1eb13dfcd80cbb16b17ba4b72ec514e83e3ba3/python/asyncio/pull/415 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/836e82905d6b8a02f4277c0baa1eb13dfcd80cbb16b17ba4b72ec514e83e3ba3/python/asyncio/pull/415 |
| og:image:alt | This feature adds the ability to drain a Queue. This is useful for cleanup steps, especially in the simple websocket case.
It adds the following things:
(coroutine) drain - waits until the queue i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nhumrich |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/python/asyncio git https://github.com/python/asyncio.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 33739295 |
| octolytics-dimension-repository_nwo | python/asyncio |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33739295 |
| octolytics-dimension-repository_network_root_nwo | python/asyncio |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/asyncio/pull/415#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fasyncio%2Fpull%2F415 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fasyncio%2Fpull%2F415 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fasyncio |
| Reload | https://github.com/python/asyncio/pull/415 |
| Reload | https://github.com/python/asyncio/pull/415 |
| Reload | https://github.com/python/asyncio/pull/415 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
|
python
| https://github.com/python |
| asyncio | https://github.com/python/asyncio |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fasyncio |
|
Fork
182
| https://github.com/login?return_to=%2Fpython%2Fasyncio |
|
Star
1.1k
| https://github.com/login?return_to=%2Fpython%2Fasyncio |
|
Code
| https://github.com/python/asyncio |
|
Issues
76
| https://github.com/python/asyncio/issues |
|
Pull requests
10
| https://github.com/python/asyncio/pulls |
|
Actions
| https://github.com/python/asyncio/actions |
|
Projects
| https://github.com/python/asyncio/projects |
|
Wiki
| https://github.com/python/asyncio/wiki |
|
Security and quality
0
| https://github.com/python/asyncio/security |
|
Insights
| https://github.com/python/asyncio/pulse |
|
Code
| https://github.com/python/asyncio |
|
Issues
| https://github.com/python/asyncio/issues |
|
Pull requests
| https://github.com/python/asyncio/pulls |
|
Actions
| https://github.com/python/asyncio/actions |
|
Projects
| https://github.com/python/asyncio/projects |
|
Wiki
| https://github.com/python/asyncio/wiki |
|
Security and quality
| https://github.com/python/asyncio/security |
|
Insights
| https://github.com/python/asyncio/pulse |
| nhumrich | https://github.com/nhumrich |
| python:master | https://github.com/python/asyncio/tree/master |
| nhumrich:master | https://github.com/nhumrich/asyncio/tree/master |
| Conversation | https://github.com/python/asyncio/pull/415 |
| Commits1 (1) | https://github.com/python/asyncio/pull/415/commits |
| Checks | https://github.com/python/asyncio/pull/415/checks |
| Files changed | https://github.com/python/asyncio/pull/415/files |
| Add draining feature to asyncio.Queue | https://github.com/python/asyncio/pull/415#top |
| nhumrich | https://github.com/nhumrich |
| python:master | https://github.com/python/asyncio/tree/master |
| nhumrich:master | https://github.com/nhumrich/asyncio/tree/master |
|
| https://github.com/nhumrich |
| nhumrich | https://github.com/nhumrich |
| Sep 8, 2016 | https://github.com/python/asyncio/pull/415#issue-175876921 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
|
| https://github.com/nhumrich |
| Add draining feature to asyncio.Queue | https://github.com/python/asyncio/pull/415/commits/5e19283cf72adaabc39205197aaf5a071b5ddbbe |
| 5e19283 | https://github.com/python/asyncio/pull/415/commits/5e19283cf72adaabc39205197aaf5a071b5ddbbe |
| https://github.com/cjrh |
| cjrh | https://github.com/cjrh |
| Sep 8, 2016 | https://github.com/python/asyncio/pull/415#issuecomment-245769329 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| https://stackoverflow.com/questions/35495711/asyncio-graceful-shutdown-for-a-pushing-server | https://stackoverflow.com/questions/35495711/asyncio-graceful-shutdown-for-a-pushing-server |
| Issue 26259 | https://bugs.python.org/issue26259 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| https://github.com/mattrasband |
| mattrasband | https://github.com/mattrasband |
| Sep 8, 2016 | https://github.com/python/asyncio/pull/415#issuecomment-245771964 |
| @nhumrich | https://github.com/nhumrich |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Sep 9, 2016 | https://github.com/python/asyncio/pull/415#issuecomment-246010335 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Sep 9, 2016 | https://github.com/python/asyncio/pull/415#event-784392841 |
| https://github.com/vxgmichel |
| vxgmichel | https://github.com/vxgmichel |
| Sep 9, 2016 | https://github.com/python/asyncio/pull/415#issuecomment-246030327 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| two producer/consumer examples | https://asyncio.readthedocs.io/en/latest/producer_consumer.html#producer-consumer |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Sep 9, 2016 | https://github.com/python/asyncio/pull/415#issuecomment-246034043 |
| https://asyncio.readthedocs.io/en/latest/producer_consumer.html#producer-consumer | https://asyncio.readthedocs.io/en/latest/producer_consumer.html#producer-consumer |
| #415 (comment) | https://github.com/python/asyncio/pull/415#issuecomment-246030327 |
| https://github.com/notifications/unsubscribe-auth/ACwrMhtu3DaNS_jrZQf3PqfXqYlzI5tJks5qocFjgaJpZM4J4gMB | https://github.com/notifications/unsubscribe-auth/ACwrMhtu3DaNS_jrZQf3PqfXqYlzI5tJks5qocFjgaJpZM4J4gMB |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| https://github.com/mwfrojdman |
| mwfrojdman | https://github.com/mwfrojdman |
| Nov 29, 2016 | https://github.com/python/asyncio/pull/415#issuecomment-263657821 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Nov 29, 2016 | https://github.com/python/asyncio/pull/415#issuecomment-263658986 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| https://github.com/mwfrojdman |
| mwfrojdman | https://github.com/mwfrojdman |
| Dec 7, 2016 | https://github.com/python/asyncio/pull/415#issuecomment-265513869 |
| https://github.com/python/cpython/blob/7b90e3674be86479c51faf872d0b9367c9fc2f96/Lib/concurrent/futures/thread.py#L141 | https://github.com/python/cpython/blob/7b90e3674be86479c51faf872d0b9367c9fc2f96/Lib/concurrent/futures/thread.py#L141 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/rhettinger |
| Mar 5, 2017 | https://github.com/python/asyncio/pull/415#issuecomment-284203472 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Mar 5, 2017 | https://github.com/python/asyncio/pull/415#issuecomment-284206083 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
| https://github.co/hiddenchars |
| https://github.com/python/asyncio/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fasyncio%2Fpull%2F415 |
| Please reload this page | https://github.com/python/asyncio/pull/415 |
|
| https://github.com/nhumrich |
|
| https://github.com/cjrh |
|
| https://github.com/mattrasband |
|
| https://github.com/gvanrossum |
|
| https://github.com/vxgmichel |
|
| https://github.com/mwfrojdman |
|
| https://github.com/rhettinger |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |