Can I make a class ‘callable’, meaning something l...
# announcements
d
Can I make a class ‘callable’, meaning something like this:
Copy code
val instance = MyCallableClass(something)
instance.callAFunction()
instance.property = “hello world”
val callResult = instance() // I‘d like to do this