Now works
This commit is contained in:
parent
00269411e2
commit
b4d3eadd63
@ -107,7 +107,6 @@ impl AppMachine<FetchState> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
let mut queue = VecDeque::new();
|
|
||||||
queue.push_back(ApiParams::search(SearchParams::artist(
|
queue.push_back(ApiParams::search(SearchParams::artist(
|
||||||
SearchArtistParams::new(artist.meta.clone()),
|
SearchArtistParams::new(artist.meta.clone()),
|
||||||
)));
|
)));
|
||||||
|
@ -228,7 +228,12 @@ impl JobInstance {
|
|||||||
) -> Option<()> {
|
) -> Option<()> {
|
||||||
self.call_queue
|
self.call_queue
|
||||||
.pop_front()
|
.pop_front()
|
||||||
.map(|api_params| self.execute_call(api, events, api_params))
|
.map(|api_params| self.execute_call(api, events, api_params));
|
||||||
|
if !self.call_queue.is_empty() {
|
||||||
|
Some(())
|
||||||
|
} else {
|
||||||
|
None
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn execute_call(
|
fn execute_call(
|
||||||
|
Loading…
Reference in New Issue
Block a user