If A() happens to return some value and that return value is handle by suspend fun B() you can simply do this:
suspend fun A() {
return coroutineScope {
return@coroutineScope B() // here your returning B()
}
}