ForteScarlet / kotlin-suspend-transform-compiler-plugin

A Kotlin compiler plugin for transforming suspend functions to platform-compatible non-suspend functions, such as the JVM Blocking API and CompletableFuture 🐱
MIT License
33 stars 3 forks source link

支持生成可变属性 #12

Closed ForteScarlet closed 1 year ago

ForteScarlet commented 1 year ago

目前的 asProperty 仅针对于只读属性,需要考虑对可变属性的兼容

ForteScarlet commented 1 year ago

并且考虑可变时getter与setter的差异可行性 (比如getter为阻塞,setter为异步)

ForteScarlet commented 1 year ago

再考虑考虑真的需要有可变属性吗?

ForteScarlet commented 1 year ago

大哥你再好好想想,返回值是future怎么直接作为property