long time to finish.
When user clicks the submit button, fire the backend starts processing the job.
At the same time, in client side, the user is able to do something else like visiting other pages.
Once the the server finished that job, then return a successful response to client side and pop up a modal on the top no matter where the user is on which route
Is it possible to implement this function?
use a combination of websockets and rest API
i might be wrong but async await?
Yes, but not by keeping communication up constantly
don't modal
Обсуждают сегодня