{"id":15765019,"url":"https://github.com/technote-space/worker-controller","last_synced_at":"2026-01-20T18:55:56.536Z","repository":{"id":42066132,"uuid":"262724496","full_name":"technote-space/worker-controller","owner":"technote-space","description":"Worker Controller","archived":false,"fork":false,"pushed_at":"2023-07-18T22:10:05.000Z","size":1088,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T01:54:27.312Z","etag":null,"topics":[],"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/technote-space.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://paypal.me/technote0space"}},"created_at":"2020-05-10T06:14:18.000Z","updated_at":"2022-12-14T23:17:09.000Z","dependencies_parsed_at":"2024-10-25T12:45:51.738Z","dependency_job_id":"425166cb-6934-4946-a168-9019fbf84167","html_url":"https://github.com/technote-space/worker-controller","commit_stats":{"total_commits":267,"total_committers":2,"mean_commits":133.5,"dds":"0.37453183520599254","last_synced_commit":"e6080d28519f05f39754d716cd520744f75e1831"},"previous_names":[],"tags_count":71,"template":false,"template_full_name":"technote-space/ts-package-template","purl":"pkg:github/technote-space/worker-controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fworker-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fworker-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fworker-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fworker-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technote-space","download_url":"https://codeload.github.com/technote-space/worker-controller/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fworker-controller/sbom","scorecard":{"id":872235,"data":{"date":"2025-08-11","repo":{"name":"github.com/technote-space/worker-controller","commit":"e6080d28519f05f39754d716cd520744f75e1831"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/6 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/add-release-tag.yml:1","Warn: no topLevel permission defined: .github/workflows/broken-link-check.yml:1","Warn: no topLevel permission defined: .github/workflows/check-warnings.yml:1","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/issue-opened.yml:1","Warn: no topLevel permission defined: .github/workflows/pr-opened.yml:1","Warn: no topLevel permission defined: .github/workflows/pr-updated.yml:1","Warn: no topLevel permission defined: .github/workflows/project-card-moved.yml:1","Warn: no topLevel permission defined: .github/workflows/sync-workflows.yml:1","Warn: no topLevel permission defined: .github/workflows/toc.yml:1","Warn: no topLevel permission defined: .github/workflows/update-dependencies.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/add-release-tag.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/add-release-tag.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/add-release-tag.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/add-release-tag.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/add-release-tag.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/add-release-tag.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/add-release-tag.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/add-release-tag.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/broken-link-check.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/broken-link-check.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/check-warnings.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/check-warnings.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/check-warnings.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/check-warnings.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/check-warnings.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/check-warnings.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:122: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:125: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:144: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:151: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:189: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:195: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:210: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:211: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-opened.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/issue-opened.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-opened.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/issue-opened.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-opened.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/issue-opened.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-opened.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-opened.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-opened.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-opened.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-opened.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-opened.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-opened.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-opened.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-updated.yml:110: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-updated.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-updated.yml:114: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-updated.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-updated.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-updated.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-updated.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-updated.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-updated.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-updated.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-updated.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-updated.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-updated.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-updated.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-updated.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-updated.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-updated.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-updated.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-updated.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-updated.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-updated.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/pr-updated.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/project-card-moved.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/project-card-moved.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/sync-workflows.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/sync-workflows.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/toc.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/toc.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/toc.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/toc.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-dependencies.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/update-dependencies.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-dependencies.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/update-dependencies.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update-dependencies.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/update-dependencies.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-dependencies.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/update-dependencies.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-dependencies.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/technote-space/worker-controller/update-dependencies.yml/main?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/ci.yml:96","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  38 third-party GitHubAction dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-f9xv-q969-pqx4"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T04:38:15.988Z","repository_id":42066132,"created_at":"2025-08-24T04:38:15.988Z","updated_at":"2025-08-24T04:38:15.988Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28609370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"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":[],"created_at":"2024-10-04T12:24:17.854Z","updated_at":"2026-01-20T18:55:56.500Z","avatar_url":"https://github.com/technote-space.png","language":"TypeScript","funding_links":["https://paypal.me/technote0space"],"categories":[],"sub_categories":[],"readme":"# Worker Controller\n\n[![npm version](https://badge.fury.io/js/%40technote-space%2Fworker-controller.svg)](https://badge.fury.io/js/%40technote-space%2Fworker-controller)\n[![CI Status](https://github.com/technote-space/worker-controller/workflows/CI/badge.svg)](https://github.com/technote-space/worker-controller/actions)\n[![CodeFactor](https://www.codefactor.io/repository/github/technote-space/worker-controller/badge)](https://www.codefactor.io/repository/github/technote-space/worker-controller)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/technote-space/worker-controller/blob/main/LICENSE)\n\nWorker Controller\n\n## Table of Contents\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\u003cdetails\u003e\n\u003csummary\u003eDetails\u003c/summary\u003e\n\n- [Setup](#setup)\n- [Author](#author)\n\n\u003c/details\u003e\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Setup\n```shell script\nyarn add @technote-space/worker-controller\n```\n\n`Pgocess.ts`\n```typescript\nimport {ProcessBase} from '@technote-space/worker-controller';\nimport {UpdateResult} from './types';\n\nglobal['Process'] = class Process extends ProcessBase\u003cUpdateResult\u003e {\n    //...\n};\n```\n\n`webpack.js`\n```js\nmodule.exports = {\n    //...\n    entry: {\n        index: path.join(__dirname, 'src/index.jsx'),\n\n        // create worker-controller.worker.js\n        'worker-controller.worker': '@technote-space/worker-controller/dist/Worker/worker-controller.worker',\n        // create process.js\n        process: path.join(__dirname, 'src/Process'),\n    },\n    output: {\n        //...\n        filename: '[name].js',\n    },\n    //...\n};\n```\n\n`Run.jsx`\n```typescript jsx\nimport React, {useEffect, useMemo, useState} from 'react';\nimport {Button} from '@material-ui/core';\nimport {Controller} from '@technote-space/worker-controller';\n\nexport default function NavContentEx() {\n    const [worker, setWorker] = useState(null);\n\n    useEffect(() =\u003e {\n        const worker = new Controller(result =\u003e {\n          //...\n        });\n        setWorker(worker);\n        worker.reset();\n    }, []);\n\n    return useMemo(() =\u003e !worker ? null : \u003c\u003e\n      \u003cButton onClick={() =\u003e worker.reset()}\u003eReset\u003c/Button\u003e\n      \u003cButton onClick={() =\u003e worker.start()}\u003eStart\u003c/Button\u003e\n      \u003cButton onClick={() =\u003e worker.stop()}\u003eStop\u003c/Button\u003e\n    \u003c/\u003e, [worker])\n}\n```\n\n## Author\n[GitHub (Technote)](https://github.com/technote-space)  \n[Blog](https://technote.space)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnote-space%2Fworker-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnote-space%2Fworker-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnote-space%2Fworker-controller/lists"}