hi everyone ! I've a question : how to make the br...
# coroutines
a
hi everyone ! I've a question : how to make the bridge between an async lib (that use callback) to coroutine ?
Copy code
fun asyncFunWithCallbackOfLibrary(cb:(String) -> Unit){
    //some treatment that will call later cb("something")
}

suspend fun bridge() :String {
    //TODO ...
}