mm1_core/context/
watching.rs

1use mm1_address::address::Address;
2use mm1_proto_system as system;
3
4pub trait Watching {
5    fn watch(&mut self, peer: Address) -> impl Future<Output = system::WatchRef> + Send;
6    fn unwatch(&mut self, watch_ref: system::WatchRef) -> impl Future<Output = ()> + Send;
7}