The simplest way to do that is just write yourself a helper function in kotlin to provide a java-friendly API.
But if that's not possible, I think your problem might be that you need to return
COROUTINE_SUSPENDED
from your lambda to indicate that the function didn't finish. But I think you also then need to check the return value of your signup function to either return directly or return that constant. It would be much better to just write a helper in kotlin.
🙏 1
➕ 1
g
ghedeon
11/12/2019, 6:53 AM
I see, that was my backup plan, yes. Interesting details, thank you! 👍