{"id":16099156,"url":"https://github.com/drapegnik/jobs-runner","last_synced_at":"2026-04-21T10:03:44.563Z","repository":{"id":79505442,"uuid":"127060972","full_name":"Drapegnik/jobs-runner","owner":"Drapegnik","description":":arrow_forward: test task for workshop","archived":false,"fork":false,"pushed_at":"2018-03-28T00:27:24.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T05:12:34.740Z","etag":null,"topics":["async","javascript","nodejs","parallel","test-task"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Drapegnik.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-28T00:22:24.000Z","updated_at":"2023-09-25T15:49:24.000Z","dependencies_parsed_at":"2023-07-31T17:50:56.773Z","dependency_job_id":null,"html_url":"https://github.com/Drapegnik/jobs-runner","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/Drapegnik%2Fjobs-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drapegnik%2Fjobs-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drapegnik%2Fjobs-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drapegnik%2Fjobs-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Drapegnik","download_url":"https://codeload.github.com/Drapegnik/jobs-runner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411193,"owners_count":20934650,"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","javascript","nodejs","parallel","test-task"],"created_at":"2024-10-09T18:26:09.114Z","updated_at":"2025-10-07T19:35:21.211Z","avatar_url":"https://github.com/Drapegnik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jobs-runner\n\n:arrow_forward: test task for [workshop](https://www.facebook.com/events/2013393755356297/?notif_t=event_calendar_create\u0026notif_id=1521623408595950)\n\n## task\n\n* Implement class `Parallel`, that run jobs in parallel (async).\n* Can't run more than `n` jobs in one time (sets as `parallelJobs` in constructor).\n* Should be work in different environments (`browser`, `node.js`, `React Native`) \u0026 pass the [test](https://gist.github.com/z4o4z/be8215262d3c6977a53c9e1213fb5280).\n\n### public `Parallel` api:\n\n```js\nclass Parallel {\n  constructor({ parallelJobs }) {}\n  job(callback) {} // returns this\n  done(callback) {}\n}\n```\n\n## result\n\n```\nstep0\nstep1\nstep2\nstep3\nstep4\nonDone [ 'step0', 'step1', 'step2', 'step3', 'step4' ] before/after/step0/step1/after0-1/step2/step3/after2-3/step4/after4/\nThanks, all works fine\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrapegnik%2Fjobs-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrapegnik%2Fjobs-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrapegnik%2Fjobs-runner/lists"}