graphprotocol / indexer-rs

Rewrite of indexer-service in Rust with TAP payments implementation
Apache License 2.0
22 stars 20 forks source link

Create `pipe` function in `watcher.rs` and replace usages #456

Closed gusinacio closed 2 weeks ago

gusinacio commented 3 weeks ago

For our refactor, I new pipe function would be really helpful to standardize the way we create functions that react to Receiver changes.

          I think `pipe_async` could become a function in our `watcher.rs` and be reused in multiple places.

_Originally posted by @gusinacio in https://github.com/graphprotocol/indexer-rs/pull/413#discussion_r1826030661_

taslimmuhammed commented 3 weeks ago

Hi, please assign me👋