{"id":25171208,"url":"https://github.com/basemax/promisesasynchronousjs","last_synced_at":"2025-04-03T21:20:28.193Z","repository":{"id":50340303,"uuid":"518109495","full_name":"BaseMax/PromisesAsynchronousJS","owner":"BaseMax","description":"If you are a JS dev, After learning the fundamentals. You have to learn Async, Await, Callbacks and Promises. This repository provide several easy examples which can show you how they are working.","archived":false,"fork":false,"pushed_at":"2022-07-26T16:19:09.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T17:08:08.693Z","etag":null,"topics":["async","asynchronous","asynchronous-programming","asynchronously","await","javascript","js","promises","promises-async-await","promises-concurrent","promises-in-javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaseMax.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-07-26T15:06:59.000Z","updated_at":"2022-07-28T11:55:08.000Z","dependencies_parsed_at":"2022-09-22T21:11:10.593Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/PromisesAsynchronousJS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FPromisesAsynchronousJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FPromisesAsynchronousJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FPromisesAsynchronousJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FPromisesAsynchronousJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/PromisesAsynchronousJS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247079145,"owners_count":20880002,"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":["async","asynchronous","asynchronous-programming","asynchronously","await","javascript","js","promises","promises-async-await","promises-concurrent","promises-in-javascript"],"created_at":"2025-02-09T09:19:35.041Z","updated_at":"2025-04-03T21:20:28.171Z","avatar_url":"https://github.com/BaseMax.png","language":"JavaScript","readme":"# Promises Asynchronous JS\n\nIf you are a JS dev, After learning the fundamentals. You have to learn Async, Await, Callbacks and Promises. This repository provide several easy examples which can show you how they are working.\n\n## Topics\n\n- Async\n- Await\n- Callbacks\n- Promises\n\n\n## Demo\n\n- **Async:** https://basemax.github.io/PromisesAsynchronousJS/async.html\n- **Callbacks:** https://basemax.github.io/PromisesAsynchronousJS/callbacks.html\n- **Promises:** https://basemax.github.io/PromisesAsynchronousJS/promises.html\n\n### What is Await?\n\nThe await operator is used to wait for a Promise. It can only be used inside an async function within regular JavaScript code; however it can be used on its own with JavaScript modules.\n\n### What is Async?\n\nAn async function is a function declared with the async keyword, and the await keyword is permitted within it. The async and await keywords enable asynchronous, promise-based behavior to be written in a cleaner style, avoiding the need to explicitly configure promise chains.\n\n### What is Promises?\n\nPromises are the foundation of asynchronous programming in modern JavaScript. They make it easier to express and reason about sequences of asynchronous operations without deeply nested callbacks, and they support a style of error handling that is similar to the synchronous try... catch statement.\n\nRead more:\n\n- https://developer.mozilla.org/en-US/docs/Glossary/Callback_function\n- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await\n- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function\n- https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Asynchronous/Promises\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fpromisesasynchronousjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Fpromisesasynchronousjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fpromisesasynchronousjs/lists"}