In Kotlin, is it possible to change the reference in a closure?
The idea is that you pass a lambda to a class and you want to change the implementation after it is passed to the class, but the class does not expose any way to update the lambda’s implementation.