rx_core_operator_start_with

Crates.iorx_core_operator_start_with
lib.rsrx_core_operator_start_with
version0.2.0
created_at2026-01-19 19:26:42.441993+00
updated_at2026-01-24 15:09:51.342487+00
descriptionstart_with operator for rx_core
homepagehttps://github.com/AlexAegis/rx_bevy
repositoryhttps://github.com/AlexAegis/rx_bevy
max_upload_size
id2055148
size11,608
Sandor (AlexAegis)

documentation

https://github.com/AlexAegis/rx_bevy

README

operator_start_with

crates.io ci codecov license

Emit a value first when subscribing to the source.

See Also

Example

cargo run -p rx_core --example operator_start_with_example
let _subscription = (1..=5)
    .into_observable()
    .start_with(99)
    .subscribe(PrintObserver::new("start_with_operator"));

Output:

start_with_operator - next: 99
start_with_operator - next: 1
start_with_operator - next: 2
start_with_operator - next: 3
start_with_operator - next: 4
start_with_operator - next: 5
start_with_operator - completed
start_with_operator - unsubscribed
Commit count: 652

cargo fmt