| Crates.io | rx_core_operator_map |
| lib.rs | rx_core_operator_map |
| version | 0.2.0 |
| created_at | 2026-01-19 16:47:36.483047+00 |
| updated_at | 2026-01-24 15:06:53.648211+00 |
| description | map operator for rx_core |
| homepage | https://github.com/AlexAegis/rx_bevy |
| repository | https://github.com/AlexAegis/rx_bevy |
| max_upload_size | |
| id | 2054947 |
| size | 14,541 |
Transform each value with a mapping function.
Into.Never signals into concrete types.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