{"id":16625510,"url":"https://github.com/aleclarson/flush-microtasks","last_synced_at":"2025-08-16T11:50:15.323Z","repository":{"id":57239081,"uuid":"226702550","full_name":"aleclarson/flush-microtasks","owner":"aleclarson","description":"Know when the microtask queue is empty","archived":false,"fork":false,"pushed_at":"2019-12-08T17:34:09.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T02:16:44.329Z","etag":null,"topics":["microtasks","testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aleclarson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-08T17:09:38.000Z","updated_at":"2024-02-29T22:27:41.000Z","dependencies_parsed_at":"2022-09-05T08:21:42.572Z","dependency_job_id":null,"html_url":"https://github.com/aleclarson/flush-microtasks","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fflush-microtasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fflush-microtasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fflush-microtasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fflush-microtasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aleclarson","download_url":"https://codeload.github.com/aleclarson/flush-microtasks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243030819,"owners_count":20224667,"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":["microtasks","testing"],"created_at":"2024-10-12T04:05:58.388Z","updated_at":"2025-03-11T12:17:49.720Z","avatar_url":"https://github.com/aleclarson.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flush-microtasks\n\nReturn a thenable that resolves when the microtask queue is empty.\n\nTaken from [enqueueTask.js](https://github.com/facebook/react/blob/b43eec7eaad14747d24ef24a06b27cb2a5653bbc/packages/shared/enqueueTask.js) in React.\n\n```ts\nimport { flushMicroTasks } from 'flush-microtasks'\n\nawait flushMicroTasks()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleclarson%2Fflush-microtasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faleclarson%2Fflush-microtasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleclarson%2Fflush-microtasks/lists"}