rx_core_operator_into_result

Crates.iorx_core_operator_into_result
lib.rsrx_core_operator_into_result
version0.2.0
created_at2026-01-19 15:43:20.162953+00
updated_at2026-01-24 15:07:40.008202+00
descriptionError handling operator. Captures upstream values and errors into a `Result`.
homepagehttps://github.com/AlexAegis/rx_bevy
repositoryhttps://github.com/AlexAegis/rx_bevy
max_upload_size
id2054830
size14,140
Sandor (AlexAegis)

documentation

https://github.com/AlexAegis/rx_bevy

README

operator_into_result

crates.io ci codecov license

Error handling operator. Captures upstream values and errors, and forwards them downstream as a Result.

See Also

Example

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
Commit count: 652

cargo fmt