René's URL Explorer Experiment


Title: Completion Handler for Async Downloads? · Issue #53 · cpp-netlib/cpp-netlib · GitHub

Open Graph Title: Completion Handler for Async Downloads? · Issue #53 · cpp-netlib/cpp-netlib

X Title: Completion Handler for Async Downloads? · Issue #53 · cpp-netlib/cpp-netlib

Description: With the current design of returning the response class as a Future in the client.get, it effectively negates any benefit of the Async abilities, as you still have to sit there polling the future to determine when the transfers are compl...

Open Graph Description: With the current design of returning the response class as a Future in the client.get, it effectively negates any benefit of the Async abilities, as you still have to sit there polling the future t...

X Description: With the current design of returning the response class as a Future in the client.get, it effectively negates any benefit of the Async abilities, as you still have to sit there polling the future t...

Opengraph URL: https://github.com/cpp-netlib/cpp-netlib/issues/53

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Completion Handler for Async Downloads?","articleBody":"With the current design of returning the response class as a Future in the client.get, it effectively negates any benefit of the Async abilities, as you still have to sit there polling the future to determine when the transfers are complete.\n\nIt would be great if you could add something like client.async_wait() to cpp-netlib so that we can get a call back when the download is completed. \n\n(I'm guessing the async_wait could just as easily call wait on the future in a thread (or strand?)) and then call the handler when completed?) \n\nAs it stands right now, it makes client code all that much more complex if you want to implement true async, non-blocking or non-polling code. \n\nI've tried to implement my own service in ASIO to do this, but alas, the ASIO code is above my C++ ability, and cpp-netlib is even more complex :)\n","author":{"url":"https://github.com/Fishwaldo","@type":"Person","name":"Fishwaldo"},"datePublished":"2011-06-11T04:57:39Z","url":"https://github.com/cpp-netlib/cpp-netlib/issues/53"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e48a45b2-ca84-827d-66d5-eece4146ea17
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA0DC:D2AD4:C65F0:114A51:6AFDD798
html-safe-nonce0c30ed045c250e8bf5604fef25fa2b123d6a4df037caa8e5306e37e1b7e36b70
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMERDOkQyQUQ0OkM2NUYwOjExNEE1MTo2QUZERDc5OCIsInZpc2l0b3JfaWQiOiI2MjMwMzYwMTQ3ODQzOTk1NTQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca6bdce9b2c4f2f17526e4cf0056713a75bc93f810a6394646b0645a6485d2b8f
hovercard-subject-tagissue:1039943
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cpp-netlib/cpp-netlib/53/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ac1b54298b9f76af8469f6e964152db7b224c7cd029ca2e5e900b8f12a9ec8e6/cpp-netlib/cpp-netlib/issues/53
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ac1b54298b9f76af8469f6e964152db7b224c7cd029ca2e5e900b8f12a9ec8e6/cpp-netlib/cpp-netlib/issues/53
og:image:altWith the current design of returning the response class as a Future in the client.get, it effectively negates any benefit of the Async abilities, as you still have to sit there polling the future t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFishwaldo
hostnamegithub.com
expected-hostnamegithub.com
None9918bd4004419458bcd838065ac2a76b76ebd11705d73909fff5ab99e996fa23
turbo-cache-controlno-preview
go-importgithub.com/cpp-netlib/cpp-netlib git https://github.com/cpp-netlib/cpp-netlib.git
octolytics-dimension-user_id192422
octolytics-dimension-user_logincpp-netlib
octolytics-dimension-repository_id494068
octolytics-dimension-repository_nwocpp-netlib/cpp-netlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id469399
octolytics-dimension-repository_parent_nwoglynos/cpp-netlib
octolytics-dimension-repository_network_root_id469399
octolytics-dimension-repository_network_root_nwoglynos/cpp-netlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea231c174493a6a442c0b0544475c918b30128208
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/cpp-netlib/cpp-netlib/issues/53#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcpp-netlib%2Fcpp-netlib%2Fissues%2F53
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcpp-netlib%2Fcpp-netlib%2Fissues%2F53
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=cpp-netlib%2Fcpp-netlib
Reloadhttps://github.com/cpp-netlib/cpp-netlib/issues/53
Reloadhttps://github.com/cpp-netlib/cpp-netlib/issues/53
Reloadhttps://github.com/cpp-netlib/cpp-netlib/issues/53
cpp-netlibhttps://github.com/cpp-netlib
cpp-netlibhttps://github.com/cpp-netlib/cpp-netlib
Codehttps://github.com/cpp-netlib/cpp-netlib
Issues163 (163)https://github.com/cpp-netlib/cpp-netlib/issues
Pull requests8 (8)https://github.com/cpp-netlib/cpp-netlib/pulls
Actionshttps://github.com/cpp-netlib/cpp-netlib/actions
Projectshttps://github.com/cpp-netlib/cpp-netlib/projects
Wikihttps://github.com/cpp-netlib/cpp-netlib/wiki
Security and qualityhttps://github.com/cpp-netlib/cpp-netlib/security
Insightshttps://github.com/cpp-netlib/cpp-netlib/insights
https://github.com/cpp-netlib/cpp-netlib
New issuehttps://github.com/login?return_to=https://github.com/cpp-netlib/cpp-netlib/issues/53
New issuehttps://github.com/login?return_to=https://github.com/cpp-netlib/cpp-netlib/issues/53
Completion Handler for Async Downloads?https://github.com/cpp-netlib/cpp-netlib/issues/53#top
https://github.com/Fishwaldo
Fishwaldohttps://github.com/Fishwaldo
on Jun 11, 2011https://github.com/cpp-netlib/cpp-netlib/issues/53#issue-1039943
https://github.com/Fishwaldo
Fishwaldohttps://github.com/Fishwaldo
on Jun 13, 2011https://github.com/cpp-netlib/cpp-netlib/issues/53#issuecomment-1357181
completedhttps://github.com/cpp-netlib/cpp-netlib/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
c78ca0dhttps://github.com/cpp-netlib/cpp-netlib/commit/c78ca0d173f34e0d14ecd7b874624a3d0a275eac
on Jun 16, 2011https://github.com/cpp-netlib/cpp-netlib/issues/53#event-1228000
Sign up for freehttps://github.com/signup?return_to=https://github.com/cpp-netlib/cpp-netlib/issues/53
Sign in to commenthttps://github.com/login?return_to=https://github.com/cpp-netlib/cpp-netlib/issues/53
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.