mohamed rejeb
12/18/2023, 2:46 PMrunBlocking
going to be supported in the JS target?Dmitry Khalanskiy [JB]
12/18/2023, 2:47 PMJoffrey
12/18/2023, 2:50 PMmohamed rejeb
12/18/2023, 2:57 PMJoffrey
12/18/2023, 2:59 PMCLOVIS
12/21/2023, 10:48 AMrunBlocking
help with reading resources synchronously? If you're calling a suspend
function, then you should probably do so in a "real" CoroutineScopemohamed rejeb
12/21/2023, 11:02 AMrunBlocking
is going to be running in a non-suspend function. It's synchronous in both cases, but I mean synchronously mostly in terms of UI rendering, loading resources then rendering ui (same as android) instead of doing those two actions in parallel. Because now the UI is rendered with the default font, then the font is loaded, then the UI is rendered again with the new font which doesn't look good. (Now I'm showing a loader when the font is not loaded to prevent this behaviour)