{"id":20595503,"url":"https://github.com/thefrontside/continuation","last_synced_at":"2025-04-14T23:43:25.287Z","repository":{"id":41846310,"uuid":"470516909","full_name":"thefrontside/continuation","owner":"thefrontside","description":"Delimited Continuations for JavaScript","archived":false,"fork":false,"pushed_at":"2024-03-01T16:08:42.000Z","size":70,"stargazers_count":31,"open_issues_count":1,"forks_count":3,"subscribers_count":8,"default_branch":"v0","last_synced_at":"2025-04-14T23:43:20.439Z","etag":null,"topics":["algebraic-effect-handlers","algebraic-effects","continuation","delimited-continuation","delimited-continuations"],"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/thefrontside.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-03-16T09:36:48.000Z","updated_at":"2024-12-26T12:25:30.000Z","dependencies_parsed_at":"2023-12-13T21:56:53.525Z","dependency_job_id":"0ba0d183-28ad-4875-ae66-a2e89a99132e","html_url":"https://github.com/thefrontside/continuation","commit_stats":{"total_commits":30,"total_committers":2,"mean_commits":15.0,"dds":0.06666666666666665,"last_synced_commit":"94e748f63cfecf8199cfb98dd8a71db095dbc35c"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Fcontinuation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Fcontinuation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Fcontinuation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thefrontside%2Fcontinuation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thefrontside","download_url":"https://codeload.github.com/thefrontside/continuation/tar.gz/refs/heads/v0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248981259,"owners_count":21193143,"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":["algebraic-effect-handlers","algebraic-effects","continuation","delimited-continuation","delimited-continuations"],"created_at":"2024-11-16T08:13:19.246Z","updated_at":"2025-04-14T23:43:25.268Z","avatar_url":"https://github.com/thefrontside.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Continuation\n\n[Delimited continuations](https://en.wikipedia.org/wiki/Delimited_continuation) for JavaScript\n\n## Install\n\n- **deno** https://deno.land/x/continuation/mod.ts\n- **npm** [@frontside/continuation](https://www.npmjs.com/package/@frontside/continuation)\n\n## Synopsis\n\n```typescript\n//deno\nimport { evaluate } from \"https://deno.land/x/continuation/mod.ts\";\n//npm\nimport { evaluate } from \"@frontside/continuation\";\n\nevaluate(function* () {\n  for (let i = 5; i \u003e 0; i--) {\n    console.log(`${i}...`);\n    yield* shift(function* (resume) {\n      setTimeout(resume, 1000);\n    });\n  }\n  console.log(\"blast off!\");\n});\n```\n\nprints:\n\n```text\n5...\n4...\n3...\n2...\n1...\nblast off!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthefrontside%2Fcontinuation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthefrontside%2Fcontinuation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthefrontside%2Fcontinuation/lists"}