Tarun Chawla
02/09/2021, 5:01 PMandylamax
02/09/2021, 5:05 PMcorountineScope behave the same on any platform. So, you can use any previous knowledge you have on them
Only thing different is that there is only one dispather in JS. Which makes sense since JS is single threadedTarun Chawla
02/10/2021, 5:26 AMTarun Chawla
02/10/2021, 10:25 AMandylamax
02/10/2021, 10:28 AMCoroutineScope on each page.
If you are rendering each page from the server, then GlobalScope can be used.andylamax
02/10/2021, 10:28 AMTarun Chawla
02/10/2021, 10:33 AMTarun Chawla
02/10/2021, 10:35 AMandylamax
02/10/2021, 10:35 AMCoroutineScope inside a component you need to call suspend functions fromTarun Chawla
02/10/2021, 10:35 AMTarun Chawla
02/10/2021, 10:35 AMandylamax
02/10/2021, 10:35 AMI can call you if you have timeSure, I can use a 5 minute break
Tarun Chawla
02/10/2021, 10:57 AM