I'm not sure I'm following what you trying to achieve. What do you mean by "bind"? Could you point the name of the property you want to bind in your snippet?
I have my own variant of observables already. You can see
onChange
method in the code. The problem is how to automatically notify the properties of a library (three.js) objects. It is obviously not possible in basic kotlin, but possible in pure JS. I thought that there is some kind of trick there.