mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-28 06:29:49 +00:00
Remove NetworkSpecialization::on_event (#3976)
This commit is contained in:
1 parent
4264613a96
commit
eb3c950cfe
4 files changed
+8
-20
No files matched your search
@@ -42,7 +42,8 @@ pub trait NetworkSpecialization<B: BlockT>: Send + Sync + 'static {
|
||||
);
|
||||
|
||||
/// Called when a network-specific event arrives.
|
||||
fn on_event(&mut self, event: Event);
|
||||
#[deprecated(note = "This method is never called; please use `with_dht_event_tx` when building the service")]
|
||||
fn on_event(&mut self, event: Event) {}
|
||||
|
||||
/// Called on abort.
|
||||
#[deprecated(note = "This method is never called; aborting corresponds to dropping the object")]
|
||||
|
||||
Reference in new issue
Block a user