{"id":25717593,"url":"https://github.com/deuscx/idle-scheduler","last_synced_at":"2025-02-25T15:39:02.989Z","repository":{"id":211695472,"uuid":"729741408","full_name":"Deuscx/idle-scheduler","owner":"Deuscx","description":"a simple way to execute task with requestIdleCallback","archived":false,"fork":false,"pushed_at":"2023-12-10T22:07:14.000Z","size":357,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T06:50:26.498Z","etag":null,"topics":["performance","requestidlecallback","scheduler","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Deuscx.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,"governance":null}},"created_at":"2023-12-10T07:46:37.000Z","updated_at":"2023-12-10T22:08:18.000Z","dependencies_parsed_at":"2023-12-10T10:36:22.475Z","dependency_job_id":null,"html_url":"https://github.com/Deuscx/idle-scheduler","commit_stats":null,"previous_names":["deuscx/idle-scheduler","deuscx/i-queue"],"tags_count":0,"template":false,"template_full_name":"Deuscx/starter-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deuscx%2Fidle-scheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deuscx%2Fidle-scheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deuscx%2Fidle-scheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deuscx%2Fidle-scheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Deuscx","download_url":"https://codeload.github.com/Deuscx/idle-scheduler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240696118,"owners_count":19842940,"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":["performance","requestidlecallback","scheduler","typescript"],"created_at":"2025-02-25T15:39:02.328Z","updated_at":"2025-02-25T15:39:02.943Z","avatar_url":"https://github.com/Deuscx.png","language":"TypeScript","readme":"# idle-scheduler\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/deuscx/idle-scheduler\"\u003e\n    \u003c!-- \u003cimg src=\"\" alt=\"Logo\" width=\"80\" height=\"80\"--\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003eidle-scheduler\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    A simple way to run complex tasks in a queue. use `requestIdleCallback`\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003c!-- PROJECT SHIELDS --\u003e\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![GitHub][license-shield]][license-url]\n\n\u003c!-- ## Features --\u003e\n\n## Getting Started\n\n\u003c!-- ## Try it Online\n\nlink to demo or gif link--\u003e\n\n## Installation\n\n```bash\npnpm install idle-scheduler\n```\n\n\u003c!-- USAGE EXAMPLES --\u003e\n## Usage\n\n```ts\nconst queue = new IdleQueue()\n\ntasks.forEach((task) =\u003e {\n  queue.add(task)\n})\n\nqueue.run()\n```\n\nSee the [open issues](https://github.com/deuscx/idle-scheduler/issues) for a full list of proposed features (and known issues).\n\nyou can see the [playground](./playground) example\n\nhttps://github.com/Deuscx/idle-scheduler/assets/48537979/7984e261-16df-4f16-a58a-f77230f0894f\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the MIT License. See [`LICENSE`](./LICENSE) for more information.\n\n[contributors-shield]: https://img.shields.io/github/contributors/deuscx/idle-scheduler.svg?style=for-the-badge\n[contributors-url]: https://github.com/deuscx/idle-scheduler/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/deuscx/idle-scheduler.svg?style=for-the-badge\n[forks-url]: https://github.com/deuscx/idle-scheduler/network/members\n[stars-shield]: https://img.shields.io/github/stars/deuscx/idle-scheduler.svg?style=for-the-badge\n[stars-url]: https://github.com/deuscx/idle-scheduler/stargazers\n[issues-shield]: https://img.shields.io/github/issues/deuscx/idle-scheduler.svg?style=for-the-badge\n[issues-url]: https://github.com/deuscx/idle-scheduler/issues\n[license-shield]: https://img.shields.io/github/license/deuscx/idle-scheduler?style=for-the-badge\n[license-url]: https://github.com/deuscx/idle-scheduler/blob/master/LICENSE\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeuscx%2Fidle-scheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeuscx%2Fidle-scheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeuscx%2Fidle-scheduler/lists"}