You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
suspend fun bar(): String {
return "A String"
}
suspend fun foo() {
Napier.d { bar() }
}
The above code doesn't work because the lambda function isn't a suspend function.
I understand we can just use the non-lambda equivalent, but it'll be convenient if we can also call colored functions in the lamba like we do outside of it
The text was updated successfully, but these errors were encountered:
The above code doesn't work because the lambda function isn't a suspend function.
I understand we can just use the non-lambda equivalent, but it'll be convenient if we can also call colored functions in the lamba like we do outside of it
The text was updated successfully, but these errors were encountered: