mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 02:07:56 +00:00
Fix asynchronous transaction rejections. (#3817)
* Fix handling transaction pool errors. * Add test. * Review suggestions.
This commit is contained in:
committed by
Bastian Köcher
parent
ed449bf415
commit
9fe8ee4197
@@ -69,6 +69,13 @@ impl Subscriptions {
|
||||
}
|
||||
}
|
||||
|
||||
/// Borrows the internal task executor.
|
||||
///
|
||||
/// This can be used to spawn additional tasks on the underyling event loop.
|
||||
pub fn executor(&self) -> &TaskExecutor {
|
||||
&self.executor
|
||||
}
|
||||
|
||||
/// Creates new subscription for given subscriber.
|
||||
///
|
||||
/// Second parameter is a function that converts Subscriber sink into a future.
|
||||
|
||||
Reference in New Issue
Block a user