mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 11:38:01 +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:
committed by
Gavin Wood
parent
3860d7c810
commit
6431cdf601
@@ -61,8 +61,8 @@ fn run_until_exit<T, C, E>(
|
||||
{
|
||||
let (exit_send, exit) = exit_future::signal();
|
||||
|
||||
let executor = runtime.executor();
|
||||
informant::start(&service, exit.clone(), executor.clone());
|
||||
let informant = 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