| Crates.io | rx_core_operator_into_result |
| lib.rs | rx_core_operator_into_result |
| version | 0.2.0 |
| created_at | 2026-01-19 15:43:20.162953+00 |
| updated_at | 2026-01-24 15:07:40.008202+00 |
| description | Error handling operator. Captures upstream values and errors into a `Result`. |
| homepage | https://github.com/AlexAegis/rx_bevy |
| repository | https://github.com/AlexAegis/rx_bevy |
| max_upload_size | |
| id | 2054830 |
| size | 14,140 |
Error handling operator. Captures upstream values and errors, and forwards them
downstream as a Result.
Result values into next and error signals.Never as the error type to guard pipelines at compile time.cargo run -p rx_core --example operator_into_result_example
let _s = throw("error!".to_string())
.into_result()
.subscribe(PrintObserver::new("into_result_operator - throw"));
let _s = just(1)
.into_result()
.subscribe(PrintObserver::new("into_result_operator - just"));
into_result_operator - throw - next: Err("error!")
into_result_operator - throw - unsubscribed
into_result_operator - just - next: Ok(1)
into_result_operator - just - completed
into_result_operator - just - unsubscribed