anyone know of repos to look at using multithreadi...
# multiplatform
w
anyone know of repos to look at using multithreading coroutines with multiplatform?
b
Other than launching them on Default dispatcher?
Also you need to use native-mt artifacts
m
Not sure if this is exactly what you are looking for but we have created sample kmm project with Coroutine based MVI pattern - link
w
yes @Big Chungus i'm talking about using
native-mt
artifcacts
@mdabrowski89 i'm not so sure that's really what i was looking for. i was trying to get a better understanding of
freeze
along with
native-mt
usage. but i appreciate the link
b
It's quite simple, really. Anything that you pass to non-main dispatcher (meaning it's backed by multiple threads) will be frozen on native targets
w
@Big Chungus that sounds simple. if i have a native objective c library / swift library which i am calling from kotlin, and the library does some multithreading stuff after i call it with an argument from kotlin do i still need to worry about freezing it ?
b
Not sure on that one. Potentially, but don't quote me on that.
w
ill have to play around with it 🙂