A post by Eugene Petrenko has been posted on <Kotl...
# feed
b
A post by Eugene Petrenko has been posted on Kotlintips.com, on how to convert a callback function to an ordinary function: https://www.kotlintips.com/convert-a-callback-function-to-ordinary-function/
r
nonBlockingFunction()
is a pretty confusing name for a function that blocks and waits for the callback to run.
b
Fair point! Maybe waitForCallback or blockCallback would be better?