You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mod.rs
    path of file: ./repos/SquireCore/squire_web/src/tournament
    
    the code of the file until where you have to start completion: #![allow(non_camel_case_types)]

use derive_more::From;
use squire_sdk::{
    client::SquireClient,
    mode
    
    fn spawn_update_listener(&self, ctx: &Context<Self>) {
        console_log("Spawning update listener");
        let recv = ON_UPDATE.get().unwrap().clone();
        ctx.link().send_future(async move {
            recv.recv().await.map(WrapperMessage::RemoteUpdate).unwrap()
        })
    }