Ты можешь код показать?
impl App{
pub async fn do_some_things(&self){
let future = tokio::spawn(async {
// Some code
println!("{}", self.field)
});
join!(future);
}
}
Андрей
Berkus
Roman
Денис
ozkriff🇺🇦
Roman
Денис
Dmytro