mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 12:16:25 +00:00
Remove TaskExecutor from the API of the informant (#2642)
* Remove TaskExecutor from the API of the informant * Fix node-template
This commit is contained in:
1 parent
3860d7c810
commit
6431cdf601
3 files changed
+13
-6
No files matched your search
@@ -118,8 +118,8 @@ fn run_until_exit<T, C, E>(
|
||||
{
|
||||
let (exit_send, exit) = exit_future::signal();
|
||||
|
||||
let executor = runtime.executor();
|
||||
cli::informant::start(&service, exit.clone(), executor.clone());
|
||||
let informant = cli::informant::build(&service);
|
||||
runtime.executor().spawn(exit.until(informant).map(|_| ()));
|
||||
|
||||
let _ = runtime.block_on(e.into_exit());
|
||||
exit_send.fire();
|
||||
|
||||
Reference in new issue
Block a user