Charles Prado
04/26/2022, 6:50 PMCalling Kotlin suspend functions from Swift/Objective-C is currently supported only on main thread
I’m using KTOR 2.0.0 with the new memory model. Getting this error when trying to call an async func inside a Task from this iOS side. There’s currently something I can do to be able to call that function in that context?russhwolf
04/26/2022, 7:29 PMrusshwolf
04/26/2022, 7:30 PMJohn O'Reilly
04/26/2022, 7:39 PMhfhbd
04/26/2022, 9:40 PM@MainActor
Charles Prado
04/26/2022, 10:36 PMCharles Prado
04/26/2022, 10:37 PMJohn O'Reilly
04/27/2022, 1:21 AM