Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

observable_closed

crates.io ci codecov license

An observable that immediately closes without completing or emitting any values.

See also

Example

cargo run -p rx_core --example observable_closed_example
let _subscription = closed().subscribe(PrintObserver::new("closed"));
println!("end");

Output:

closed - unsubscribed
end