[Feature] Make PollerStream reconnectable
- 主要言語
- Rust
- スター
- 1.3k
- フォーク
- 668
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 29
説明
### Component
provider, pubsub
### Describe the feature you would like
currently the poller terminates if the filter got evicted:
https://github.com/alloy-rs/alloy/blob/808b88df4d627e98b3a3ea55ab54d96d264a23bb/crates/rpc-client/src/poller.rs#L379-L379
ideally the poller would auto-reconnect
## TODO
* we need a way to do smth like `.reconnect()` on https://github.com/alloy-rs/alloy/blob/808b88df4d627e98b3a3ea55ab54d96d264a23bb/crates/rpc-client/src/poller.rs#L62-L63
* and reset it to https://github.com/alloy-rs/alloy/blob/808b88df4d627e98b3a3ea55ab54d96d264a23bb/crates/provider/src/provider/trait.rs#L492-L493
so we need a way to provide a way to re-obtain the id lazily, which is a bit tricky
### Additional context
_No response_
コントリビューションガイド
評価
この issue はまだ評価されていません。