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

observer_print

crates.io ci codecov license

Print all observed signals to stdout for quick debugging.

See Also

Example

cargo run -p rx_core --example observer_print_example
let _subscription = just(1).subscribe(PrintObserver::new("hello"));

Output:

hello - next: 1
hello - completed
hello - unsubscribed