{"id":47783787,"url":"https://github.com/dcarp/asynchronous","last_synced_at":"2026-04-03T14:03:14.306Z","repository":{"id":26260627,"uuid":"29707851","full_name":"dcarp/asynchronous","owner":"dcarp","description":"A D port of Python's asyncio library","archived":false,"fork":false,"pushed_at":"2026-03-25T21:16:48.000Z","size":372,"stargazers_count":37,"open_issues_count":3,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-03-26T19:11:58.682Z","etag":null,"topics":["aio","asynchronous","asyncio","coroutines","d","fibers","multitasking","python","socket","timer"],"latest_commit_sha":null,"homepage":null,"language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcarp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_1_0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-23T00:25:31.000Z","updated_at":"2026-03-25T21:16:49.000Z","dependencies_parsed_at":"2022-08-26T17:23:37.679Z","dependency_job_id":null,"html_url":"https://github.com/dcarp/asynchronous","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/dcarp/asynchronous","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarp%2Fasynchronous","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarp%2Fasynchronous/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarp%2Fasynchronous/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarp%2Fasynchronous/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcarp","download_url":"https://codeload.github.com/dcarp/asynchronous/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcarp%2Fasynchronous/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31355719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T08:03:20.796Z","status":"ssl_error","status_checked_at":"2026-04-03T08:00:37.834Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aio","asynchronous","asyncio","coroutines","d","fibers","multitasking","python","socket","timer"],"created_at":"2026-04-03T14:02:19.409Z","updated_at":"2026-04-03T14:03:14.295Z","avatar_url":"https://github.com/dcarp.png","language":"D","readme":"# `asynchronous`\n\nThis library provides infrastructure for writing concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related primitives.\n\n_It implements most of the python 3 [asyncio API](https://docs.python.org/3/library/asyncio.html)._\n\n#### API Reference\n\nCan be found at: http://dcarp.github.io/asynchronous/index.html\n\n#### Implementation status\n\n- Timers (done)\n- Futures, Tasks (done)\n- Sockets (done)\n- Streams (done)\n- Subprocesses (not implemented)\n- Locks and semaphores (done)\n- Queues (done)\n\n#### Why yet another async library? What is wrong with vibe.d?\n\n- `asynchronous` is a library and not a framework\n- it is not web-oriented, compatible with `std.socket`\n- arguably nicer API\n- event loop start/stop control\n- uses `@Coroutine` UDA to mark functions that could trigger a task (fiber) switch, although this is not enforced yet by the compiler.\n\n#### Examples and tutorials\n\nSome small examples can be found in the test directory or as unittests. For larger examples please use the Python/asyncio resources.\n\nPlease keep in mind that, in contrast with Python/asyncio, in D a coroutine MUST be called from within a Task, otherwise it causes a run-time error on the fiber switch. Basic rule: if not called from another coroutine, any coroutine call need to be wrapped by `ensureFuture` or `EventLoop.createTask`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcarp%2Fasynchronous","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcarp%2Fasynchronous","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcarp%2Fasynchronous/lists"}