How is it possible to call `runBlocking` without p...
# coroutines
t
How is it possible to call
runBlocking
without passing the
context
(
context
doesn’t have a default value here) ? 🤔
s
I don't have the documentation/source-code in front of me, but I think that the KDoc/JavaDoc does not show the default argument for the
context
parameter. It probably has a default argument/value. Try to 'Go To Definition' of this method to see what the default argument is.
t
Can’t find the default value here as well
s
The default comes from the
expect
fun not the
actual
fun iirc
s
Ha..... interesting....
s
Mystery solved! 😄
t
@Sam aaah.. makes sense @hfhbd Thanks for the link 🚀