rx_core_operator_map

Crates.iorx_core_operator_map
lib.rsrx_core_operator_map
version0.2.0
created_at2026-01-19 16:47:36.483047+00
updated_at2026-01-24 15:06:53.648211+00
descriptionmap operator for rx_core
homepagehttps://github.com/AlexAegis/rx_bevy
repositoryhttps://github.com/AlexAegis/rx_bevy
max_upload_size
id2054947
size14,541
Sandor (AlexAegis)

documentation

https://github.com/AlexAegis/rx_bevy

README

operator_map

crates.io ci codecov license

Transform each value with a mapping function.

See Also

Example

cargo run -p rx_core --example operator_map_example
let _subscription = (1..=5)
    .into_observable()
    .map(|i| i * 2)
    .subscribe(PrintObserver::new("map_operator"));

Output:

map_operator - next: 2
map_operator - next: 4
map_operator - next: 6
map_operator - next: 8
map_operator - next: 10
map_operator - completed
map_operator - unsubscribed
Commit count: 652

cargo fmt