{"id":32122167,"url":"https://github.com/deno-delay/delay","last_synced_at":"2026-05-17T06:33:41.802Z","repository":{"id":57675425,"uuid":"301678839","full_name":"deno-delay/delay","owner":"deno-delay","description":"The standard Deno module for delaying a specified amount of time.","archived":false,"fork":false,"pushed_at":"2020-10-09T03:21:18.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-09T23:28:20.376Z","etag":null,"topics":["delay","deno","denoland","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/deno-delay.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":"2020-10-06T09:38:50.000Z","updated_at":"2023-03-10T03:27:48.000Z","dependencies_parsed_at":"2022-09-26T18:20:41.674Z","dependency_job_id":null,"html_url":"https://github.com/deno-delay/delay","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/deno-delay/delay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-delay%2Fdelay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-delay%2Fdelay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-delay%2Fdelay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-delay%2Fdelay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deno-delay","download_url":"https://codeload.github.com/deno-delay/delay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-delay%2Fdelay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33129253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T06:27:06.342Z","status":"ssl_error","status_checked_at":"2026-05-17T06:26:59.432Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["delay","deno","denoland","typescript"],"created_at":"2025-10-20T20:26:37.964Z","updated_at":"2026-05-17T06:33:41.794Z","avatar_url":"https://github.com/deno-delay.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# delay\n\nThe standard Deno module for delaying a specified amount of time.\n\n## 🔧 How to use\n\n```js\nimport { delay } from 'https://deno.land/x/delay@v0.2.0/mod.ts';\n```\n\n## 💡 Usage\n\n### 🎀 delay\n\n```ts\nimport { delay } from 'https://deno.land/x/delay@v0.2.0/mod.ts';\n\n(async () =\u003e {\n  console.log('Executed 100 milliseconds later');\n\n  await delay(100);\n\n  console.log('Hello World!');\n})();\n```\n\n### 🎀 delay.reject\n\n```ts\nimport { delay } from 'https://deno.land/x/delay@v0.2.0/mod.ts';\n\n(async () =\u003e {\n  try {\n    await delay.reject(100, { value: new Error('Rejected') });\n\n    console.log('This is never executed');\n  } catch (error) {\n    // 100 milliseconds later\n    console.log(error);\n    //=\u003e [Error: Rejected]\n  }\n})();\n```\n\n## 📜 Changelog\n\nDetails changes for each release are documented in the [CHANGELOG.md](https://github.com/deno-delay/delay/blob/main/CHANGELOG.md).\n\n## ❗ Issues\n\nIf you think any of the `delay` can be improved, please do open a PR with any updates and submit any issues. Also, I will continue to improve this, so you might want to watch/star this repository to revisit.\n\n## 💪 Contribution\n\nWe'd love to have your helping hand on contributions to `delay` by forking and sending a pull request!\n\nYour contributions are heartily ♡ welcome, recognized and appreciated. (✿◠‿◠)\n\nHow to contribute:\n\n- Open pull request with improvements\n- Discuss ideas in issues\n- Spread the word\n- Reach out with any feedback\n\n## ⚖️ License\n\nThe MIT License [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeno-delay%2Fdelay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeno-delay%2Fdelay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeno-delay%2Fdelay/lists"}