Vitaliy Kondratiev
11/22/2021, 3:03 PMassertMainThreadOnNative()
if I'm trying to execute a query. Why am I forced to do it on the main thread?mbonnin
11/22/2021, 3:24 PMmbonnin
11/22/2021, 3:24 PMmbonnin
11/22/2021, 3:26 PMNSUrlSession
so you get a callback in a dispatch queue from where you need to resume a coroutine.mbonnin
11/22/2021, 3:27 PMdispatch_main_queue()
. If it's not, then it's not the same storyVitaliy Kondratiev
11/22/2021, 3:31 PMmbonnin
11/22/2021, 3:32 PM