{"id":19786611,"url":"https://github.com/mdrokz/async_executor","last_synced_at":"2026-06-08T18:32:36.801Z","repository":{"id":103774275,"uuid":"325799793","full_name":"mdrokz/Async_Executor","owner":"mdrokz","description":"simple bare bones executor for async futures in rust.","archived":false,"fork":false,"pushed_at":"2020-12-31T13:17:00.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T14:02:01.010Z","etag":null,"topics":["async","asynchronous-programming","futures","library","rust","rust-library","scheduler"],"latest_commit_sha":null,"homepage":"","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/mdrokz.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":"2020-12-31T12:51:44.000Z","updated_at":"2020-12-31T13:17:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a6d3543-867d-4cbc-a7ce-a72e900ee638","html_url":"https://github.com/mdrokz/Async_Executor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdrokz/Async_Executor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdrokz%2FAsync_Executor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdrokz%2FAsync_Executor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdrokz%2FAsync_Executor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdrokz%2FAsync_Executor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdrokz","download_url":"https://codeload.github.com/mdrokz/Async_Executor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdrokz%2FAsync_Executor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34075956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["async","asynchronous-programming","futures","library","rust","rust-library","scheduler"],"created_at":"2024-11-12T06:18:49.061Z","updated_at":"2026-06-08T18:32:36.786Z","avatar_url":"https://github.com/mdrokz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Async_Executor\nsimple bare bones executor for async futures in rust.\n\n\n# Queuing async operations to a limited amount\n\n```rust\n\nuse crate::executor::{new_queue_executor_and_spawn, SyncExecutor, SyncSpawner};\n\nlet (executor, spawner): (SyncExecutor\u003cString\u003e, SyncSpawner\u003cString\u003e) =\n        new_queue_executor_and_spawn(3);\n        \n  for _ in 0..3 {\n  \n    spawner.spawn(async {\n        println!(\"hello world\");\n        30\n    })\n  }      \n  \n  executor.run_queued(Box::new(|v| {\n        println!(\"V {}\", v);\n    }));\n\n```\n\n# Normal Async Executor\n\n\n```rust\n\n  use crate::executor::{new_executor_and_spawner, Executor, Spawner};\n\nlet (executor, spawner): (Executor\u003c'_, String\u003e, Spawner\u003c'_, String\u003e) =\n        new_queue_executor_and_spawn(3);\n\n  spawner.spawn(async {\n        println!(\"test\");\n        30\n  });\n  \n  \n  let r = executer.block_on();\n\n  // for running an async loop\n\n  // executor.run(Box::new(|v| {\n  //      println!(\"V {}\", v);\n  //  }));\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdrokz%2Fasync_executor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdrokz%2Fasync_executor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdrokz%2Fasync_executor/lists"}