{"id":32195760,"url":"https://github.com/macchiato-framework/macchiato-async","last_synced_at":"2025-12-12T01:14:39.411Z","repository":{"id":62435397,"uuid":"76369745","full_name":"macchiato-framework/macchiato-async","owner":"macchiato-framework","description":"Async library for macchiato","archived":false,"fork":false,"pushed_at":"2018-04-13T17:37:10.000Z","size":21,"stargazers_count":2,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-08-12T20:24:58.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macchiato-framework.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-13T15:10:07.000Z","updated_at":"2017-12-21T23:43:00.000Z","dependencies_parsed_at":"2022-11-01T21:30:27.564Z","dependency_job_id":null,"html_url":"https://github.com/macchiato-framework/macchiato-async","commit_stats":null,"previous_names":["macchiato-framework/macchiato-futures"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/macchiato-framework/macchiato-async","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-async","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-async/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-async/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-async/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macchiato-framework","download_url":"https://codeload.github.com/macchiato-framework/macchiato-async/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-async/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280365632,"owners_count":26318389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-22T02:20:16.971Z","updated_at":"2025-10-22T02:20:17.906Z","avatar_url":"https://github.com/macchiato-framework.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# macchiato/async\n\nBuild status: \n[![CircleCI](https://circleci.com/gh/macchiato-framework/macchiato-async.svg?style=svg)](https://circleci.com/gh/macchiato-framework/macchiato-async)\n\nCurrently a trivial ClojureScript wrapper for [node-fibers](https://github.com/laverdet/node-fibers). Originally wrote to be used in Macchiato, but can be used standalone.\n\nIn the near future we plan to experiment with different approaches. See the [TODO](#TODO) section below.\n\nCurrent version is `0.0.4-SNAPSHOT` and probably changing regularly. \n\n## Rationale\n\nWe're building Macchiato on node. Everything's async. We need a coherent way of approaching this.\n\nOriginally we discussed keeping this as part of macchiato/core, since chances are *every library we use will need it*. Then again, we can use other Macchiato libraries without using the ring-like functionality of `core` - say, database access, which will depend on futures, could be used to build lambdas for AWS.\n\nKeeping it independent allows us this flexibility.\n\n## Usage\n\nSee `macchiato.test.async.futures` for sample uses.\n\n## TODO\n\nAll the things!  This is just a rough draft and the API might change. \n\n- [x] Likely renaming the library to macchiato/async, since we may end up doing multiple implementations under the same library.\n- [ ] I'm currently looking at async/wait on Node 7. We might want to use that instead of wrapping a custom library.\n- [ ] Review [synchronize.js](http://alexeypetrushin.github.io/synchronize/docs/index.html) and consider a ClojureScript port.\n\nAlso, once the API settles:\n\n- We have some initial tests for futures, expanding the test cases would be nice.\n- More documentation\n\n## Contributing\n\nI welcome pull requests, as long as you're also distributing them under the MIT License.\n\nWe are using git-flow. Please submit your pull requests from develop.\n\n\n# License\n\nCopyright © 2016 Numergent Limited. Distributed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacchiato-framework%2Fmacchiato-async","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacchiato-framework%2Fmacchiato-async","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacchiato-framework%2Fmacchiato-async/lists"}