Crul
08/03/2023, 4:35 AMiosMain
because it says we can use ios spesific API inside it. Can we use DispatchQueue
inside iosMain
? (If you don't know, DispatchQueue
is the common ios API that we use for background processing stuff)Crul
08/03/2023, 4:37 AMiosMain
Jeff Lockhart
08/03/2023, 4:49 AMdispatch_queue_t
in Objective-C.Jeff Lockhart
08/03/2023, 4:52 AMdispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT.convert(), 0.convert())) {
// some background work
}
Crul
08/03/2023, 10:20 AMdispatch_async(){}
?, should we launch a coroutine first ?Andrew Reed
08/03/2023, 10:31 AMAndrew Reed
08/03/2023, 10:31 AM