mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 15:41:02 +00:00
Support the subscription of every imported block (#13372)
* Support the subscription of every import block Close #13315 * Clean up any closed block import notification sinks * Apply review suggestions * Nit * `every_block_import_notification_sinks` -> `every_import_notification_sinks` * Apply review suggestions
This commit is contained in:
@@ -265,6 +265,10 @@ impl BlockchainEvents<Block> for MockClient {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn every_import_notification_stream(&self) -> ImportNotifications<Block> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn finality_notification_stream(&self) -> FinalityNotifications<Block> {
|
||||
self.client.lock().finality_notification_stream()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user