I frequently get a `ClassCastException` returning ...
# result
a
I frequently get a
ClassCastException
returning
kotlin.Result
from suspending functions, but I can’t accurately figure out the steps to reproduce. it’s always
kotlin.Result cannot be cast to (TheWrappedType)
. Has anyone else seen this or figured out why it happens and how to avoid it? I’m at the stage where I’m considering ditching this API as it’s extremely flakey because of this 😕