···8 scrobble: Option<ScrobblesTemplate>,
9}
1011-pub async fn get_index(mut monitor: ScrobbleMonitor) -> RootTemplate {
12 let scrobbles_template = monitor.try_get_scrobble();
13 if scrobbles_template.is_none() {
14 // start fetching scrobble so we can send a fresh response to the client ASAP
···8 scrobble: Option<ScrobblesTemplate>,
9}
1011+pub async fn get_index(monitor: ScrobbleMonitor) -> RootTemplate {
12 let scrobbles_template = monitor.try_get_scrobble();
13 if scrobbles_template.is_none() {
14 // start fetching scrobble so we can send a fresh response to the client ASAP