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 or JS Promise, etc. 🐱
MIT License
34 stars 3 forks source link

支持完全定制化 #7

Closed ForteScarlet closed 1 year ago

ForteScarlet commented 2 years ago

目前,jvmBlocking、jvmAsync和jsPromise之间存在大量相似内容,完全可以抽象并支持几种模式下的自定义扩展。

ForteScarlet commented 2 years ago

应考虑完全的定制化配置,并仅提供基本的转化策略方案