Is it possible to use property delegates with the ...
# announcements
c
Is it possible to use property delegates with the
by
keyword on extension properties, so that I can pass
this
through to the delegate?
this playground example shows what I’m wanting to do with this https://urlzs.com/nxw1
s
I added this line to your code
val String.seeIfByWorks by state()
and calling
"helloo!!".seeIfByWorks.Faq1.record()
works fine. The
thisRef
parameter of the
state
function has the value
"helloo!!"
c
Ah, nice, thanks! I think I can make this work how I want