Skip to content

About

Asynchronously listen for (latest) changes of values and combine them. Async runtime independent + WebAssembly supported.

Resources

Stars

14 stars

Watchers

6 watching

Forks

Repository files navigation

n0-watcher

Documentation Crates.io downloads Chat License: MIT License: Apache 2.0 CI

Watchable values.

A Watchable exists to keep track of a value which may change over time. It allows observers to be notified of changes to the value. The aim is to always be aware of the last value, not to observe every value change.

In that way, a Watchable is like a tokio::sync::broadcast::Sender, except that there's no risk of the channel filling up, but instead you might miss items.

See [the module documentation][https://docs.rs/n0-watcher] for more information.

License

Copyright 2026 N0, INC.

This project is licensed under either of

at your option.

Contribution

This project follows the iroh contributing guidelines. Please read them, along with our AI Policy, before opening an issue or pull request.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Asynchronously listen for (latest) changes of values and combine them. Async runtime independent + WebAssembly supported.

Resources

Stars

14 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages