Join Slack
Powered by
A post by Eugene Petrenko has been posted on <Kotl...
# feed
b
bodiam
01/18/2020, 10:41 AM
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
russhwolf
01/18/2020, 2:52 PM
nonBlockingFunction()
is a pretty confusing name for a function that blocks and waits for the callback to run.
b
bodiam
01/21/2020, 1:01 PM
Fair point! Maybe waitForCallback or blockCallback would be better?
Open in Slack
Previous
Next