| Crates.io | rx_core_observable_never |
| lib.rs | rx_core_observable_never |
| version | 0.2.0 |
| created_at | 2026-01-19 11:08:51.229859+00 |
| updated_at | 2026-01-24 15:03:28.912456+00 |
| description | never observable for rx_core |
| homepage | https://github.com/AlexAegis/rx_bevy |
| repository | https://github.com/AlexAegis/rx_bevy |
| max_upload_size | |
| id | 2054294 |
| size | 9,919 |
Never emits and never unsubscribes, only once it's dropped!
Warning: You will be responsible to unsubscribe from subscriptions made to this observable, as it will never do so on its own!
cargo run -p rx_core --example observable_never_example
let _subscription = never().subscribe(PrintObserver::new("never"));
println!("nothing happens before dropping the subscription!");
Output:
nothing happens before dropping the subscription!
never - unsubscribed