{"id":18352348,"url":"https://github.com/limpix31/ticque","last_synced_at":"2026-01-03T02:39:12.888Z","repository":{"id":240923062,"uuid":"803821723","full_name":"LIMPIX31/ticque","owner":"LIMPIX31","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-22T08:35:25.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T16:55:30.982Z","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/LIMPIX31.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":"2024-05-21T12:52:18.000Z","updated_at":"2024-08-27T15:21:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"5eadb420-e509-445e-affb-3f581814afd2","html_url":"https://github.com/LIMPIX31/ticque","commit_stats":null,"previous_names":["limpix31/ticque"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIMPIX31%2Fticque","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIMPIX31%2Fticque/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIMPIX31%2Fticque/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIMPIX31%2Fticque/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LIMPIX31","download_url":"https://codeload.github.com/LIMPIX31/ticque/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243878437,"owners_count":20362432,"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-11-05T21:35:42.140Z","updated_at":"2026-01-03T02:39:12.862Z","avatar_url":"https://github.com/LIMPIX31.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ticque\n\nA pattern that can help request data from a data stream running in a loop\n\n## Example\n```rust\nuse ticque::{Vendor, Customer};\n\nlet vendor = Vendor::new();\nlet consumer = vendor.consumer();\n\ntokio::spawn(async move {\n  let camera_stream = ...;\n\n  loop {\n    let frame = camera_stream.next().await?;\n\n    if vendor.has_waiters() {\n      let rgb_image = frame_to_rgb(frame)?;\n      vendor.send(rgb_image);\n    }\n  }\n});\n\nlet current_rgb_image = consumer.request().await?;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimpix31%2Fticque","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimpix31%2Fticque","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimpix31%2Fticque/lists"}