{"id":16949533,"url":"https://github.com/tailhook/async-slot","last_synced_at":"2025-04-05T14:44:36.378Z","repository":{"id":62438263,"uuid":"108318734","full_name":"tailhook/async-slot","owner":"tailhook","description":"An unbounded channel that only stores last value sent made for futures-rs","archived":false,"fork":false,"pushed_at":"2017-10-25T20:33:08.000Z","size":20,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T19:49:01.029Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tailhook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-25T19:52:41.000Z","updated_at":"2019-11-08T15:46:08.000Z","dependencies_parsed_at":"2022-11-01T21:45:46.260Z","dependency_job_id":null,"html_url":"https://github.com/tailhook/async-slot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fasync-slot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fasync-slot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fasync-slot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fasync-slot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailhook","download_url":"https://codeload.github.com/tailhook/async-slot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353677,"owners_count":20925325,"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":"2024-10-13T21:55:13.355Z","updated_at":"2025-04-05T14:44:36.357Z","avatar_url":"https://github.com/tailhook.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Async Slot\n==========\n\n[Documentation](https://docs.rs/async-slot) |\n[Github](https://github.com/tailhook/async-slot) |\n[Crate](https://crates.io/crates/async-slot)\n\nAn unbounded channel that only stores last value sent made for [futures].\n\n[futures]: https://github.com/alexcrichton/futures-rs\n\nFeatures:\n\n1. Compacts memory (only last value is kept)\n2. Has `poll_cancel` and `is_canceled`\n3. Single-producer/single-consumer\n4. Never has backpressure (because value is just replaced)\n5. Replaced value can be recovered if using `swap` method.\n6. `Sync`, so if multi-producer is desired, `Sender` can be wrapped\n   into an `Arc`/`Rc` and `swap` method is used to update value.\n\nLicense\n=======\n\nLicensed under either of\n\n* Apache License, Version 2.0,\n  (./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)\n* MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT)\n  at your option.\n\nContribution\n------------\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailhook%2Fasync-slot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailhook%2Fasync-slot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailhook%2Fasync-slot/lists"}