Using tokio spawn_local in subscriptions

Hello Community

How can we use tokio spawn_local inside subscriptions
I wan to run non send futures

    let (tx, rx) = mpsc::channel(32);

    let t: JoinHandle<()> = tokio::task::spawn_local(async move {
        AppService::new().run(rx).await
    });

I am getting below error while using it
spawn_localcalled from outside of atask::LocalSet