Not in this case. they are running a long task, which means they need positive feedback before the task is finished.
Like this? let success = false while(!success ) { let res = await fetch('api link') if (res.something) success = true //pop up modal }
Обсуждают сегодня