| Crates.io | rx_bevy_observable_proxy |
| lib.rs | rx_bevy_observable_proxy |
| version | 0.3.1 |
| created_at | 2026-01-19 07:03:55.241856+00 |
| updated_at | 2026-01-24 17:58:28.842862+00 |
| description | rx_bevy proxy observable, relays events from another observable |
| homepage | https://github.com/AlexAegis/rx_bevy |
| repository | https://github.com/AlexAegis/rx_bevy |
| max_upload_size | |
| id | 2053890 |
| size | 135,738 |
The ProxyObservable can subscribe to another observable entity of matching
type!
MessageWriter.cargo run -p rx_bevy --example observable_proxy_example
let keyboard_observable_entity = commands
.spawn((
Name::new("KeyboardObservable"),
KeyboardObservable::new(default(), rx_schedule_update_virtual.handle())
.into_component(),
))
.id();
let _s = ProxyObservable::<KeyCode, Never>::new(
keyboard_observable_entity,
rx_schedule_update_virtual.handle(),
).subscribe(PrintObserver::new("proxy_observable"));