{"id":28525390,"url":"https://github.com/xtuc/cancellable-promise-rs","last_synced_at":"2025-07-06T13:31:45.991Z","repository":{"id":280838122,"uuid":"676635905","full_name":"xtuc/cancellable-promise-rs","owner":"xtuc","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-09T16:51:50.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-04T00:31:45.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/xtuc.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":"2023-08-09T16:45:52.000Z","updated_at":"2024-01-20T22:35:15.000Z","dependencies_parsed_at":"2025-03-05T16:17:26.309Z","dependency_job_id":"07bebff4-5c9a-42db-8670-51998056b847","html_url":"https://github.com/xtuc/cancellable-promise-rs","commit_stats":null,"previous_names":["xtuc/cancellable-promise-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xtuc/cancellable-promise-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2Fcancellable-promise-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2Fcancellable-promise-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2Fcancellable-promise-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2Fcancellable-promise-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtuc","download_url":"https://codeload.github.com/xtuc/cancellable-promise-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtuc%2Fcancellable-promise-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263908232,"owners_count":23528416,"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":[],"created_at":"2025-06-09T11:31:04.922Z","updated_at":"2025-07-06T13:31:45.986Z","avatar_url":"https://github.com/xtuc.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cancellable JS promise in Rust\n\n## Usage\n\n```rust\nlet promise = wasm_bindgen_futures::future_to_promise(async move {\n    ...\n});\n\nlet abort_controller = Box::new(worker::AbortController::default());\nlet output = cancellable_promise::make(abort_controller.signal(), promise);\n\n// eventually ...\n\nabort_controller.abort();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtuc%2Fcancellable-promise-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtuc%2Fcancellable-promise-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtuc%2Fcancellable-promise-rs/lists"}