{"id":57855,"library":"event-listener","title":"Event Listener","description":"Notify async tasks or threads of events with efficient waiting.","status":"active","version":"5.4.1","language":"rust","source_language":null,"source_url":"https://github.com/smol-rs/event-listener","tags":["async","event","notification","synchronization"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nevent-listener = \"5.4.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add event-listener","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Event","correct":"use event_listener::Event;"}],"quickstart":{"code":"use event_listener::Event;\n\nfn main() {\n    let event = Event::new();\n    let listener = event.listen();\n    // In another thread/task: event.notify(1);\n    // listener.wait();\n    println!(\"Event created\");\n}","lang":"rust","description":"Creates an event and a listener."},"warnings":[],"env_vars":null,"search_vec":"'async':4,13 'effici':11 'event':1,9,14 'listen':2 'notif':15 'notifi':3 'synchron':16 'task':5 'thread':7 'wait':12","created_at":"2026-06-16T16:02:22.816935+00:00","updated_at":"2026-06-16T16:02:22.816935+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/smol-rs/event-listener","github":"https://github.com/smol-rs/event-listener","docs":"https://docs.rs/event-listener/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["async"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}