{"id":15015914,"url":"https://github.com/emberexperts/ember-await","last_synced_at":"2025-04-12T09:30:56.371Z","repository":{"id":40375637,"uuid":"192204804","full_name":"EmberExperts/ember-await","owner":"EmberExperts","description":"Await component for Ember Applications. Resolve your data on demand, just when needed.","archived":false,"fork":false,"pushed_at":"2023-03-06T20:46:24.000Z","size":3902,"stargazers_count":56,"open_issues_count":11,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T04:34:29.347Z","etag":null,"topics":["await","data","ember-addon","ember-await","emberjs","javascript","loading"],"latest_commit_sha":null,"homepage":"https://exelord.gitbook.io/ember-await","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EmberExperts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-16T15:07:11.000Z","updated_at":"2024-12-02T21:47:36.000Z","dependencies_parsed_at":"2024-06-21T02:36:31.284Z","dependency_job_id":"f4fdf945-865d-4b57-9ff7-39fa98ccdf86","html_url":"https://github.com/EmberExperts/ember-await","commit_stats":null,"previous_names":["exelord/ember-await"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberExperts%2Fember-await","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberExperts%2Fember-await/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberExperts%2Fember-await/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberExperts%2Fember-await/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmberExperts","download_url":"https://codeload.github.com/EmberExperts/ember-await/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248545992,"owners_count":21122243,"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","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":["await","data","ember-addon","ember-await","emberjs","javascript","loading"],"created_at":"2024-09-24T19:48:08.673Z","updated_at":"2025-04-12T09:30:56.038Z","avatar_url":"https://github.com/EmberExperts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/Exelord/ember-await/master/logo.png\" /\u003e\n\u003c/p\u003e\n\n# ember-await\n\nEmber component for declarative promise resolution. Makes it easy to handle every state of the asynchronous process, without assumptions about the shape of your data or the type of request. Use it with fetch, Axios or other data fetching libraries, even GraphQL.\n\n- Expose states components for easier promise states handling\n- Provides convenient metadata (`isPending`, `isFulfilled` etc.)\n- Provides `cancel` and `reload` actions\n- Supports non-async data\n- Highly inspired by [react-async](https://react-async.com)\n- Takes advantage of [ember-concurrency](https://ember-concurrency.com/) to manage promise state (aborting, cancellation, etc.)\n\n## Documentation\n\nFor full documentation visit: **https://exelord.gitbook.io/ember-await**\n\n## Compatibility\n\n* Ember.js v3.16 or above\n* Ember CLI v2.13 or above\n* Node.js v10 or above\n\n## Installation\n\n```text\nember install ember-await\n```\n\n## Basic usage\n\n```hbs\n  \u003cAwait @promise={{this.fetchPosts}} as |await|\u003e\n    \u003cawait.Pending\u003e\n      Loading posts...\n    \u003c/await.Pending\u003e\n\n    \u003cawait.Fulfilled as |posts|\u003e\n      {{#each posts as |post|}}\n        {{post.title}}\n      {{/each}}\n    \u003c/await.Fulfilled\u003e\n\n    \u003cawait.Rejected\u003e\n      Something went wrong :(\n    \u003c/await.Rejected\u003e\n  \u003c/Await\u003e\n```\n\nFor full documentation visit: **https://exelord.gitbook.io/ember-await**\n\n## Contributing\n\nSee the [Contributing](misc/contributing.md) guide for details.\n\n## License\n\nThis project is licensed under the [MIT License](misc/license.md).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femberexperts%2Fember-await","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femberexperts%2Fember-await","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femberexperts%2Fember-await/lists"}