get this error each time i call a suspend function...
# multiplatform
h
get this error each time i call a suspend function from my api file in the shared folder.
e
wrap
registerPatient
call in
DispatchQueue.main.async
and make sure that all possible exceptions in Kotlin declared in
@Throws
Copy code
DispatchQueue.main.async {
   try await ApiKt.registerPatient(...)
}
more explanation in your previous question