@@ -164,6 +164,9 @@ suspendTransform {
164
164
enabled = true // default: true
165
165
includeRuntime = true // default: true
166
166
includeAnnotation = true // default: true
167
+ // 注意:如果禁用 includeAnnotation, 你需要自定义 targetMarker 或将其设置为 `null`
168
+ // 更多参考: https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-plugin/pull/73
169
+ // targetMarker = null // 或自定义
167
170
168
171
/*
169
172
* 相当于同时使用 `useJvmDefault` 和 `useJsDefault`.
@@ -240,6 +243,9 @@ suspendTransform {
240
243
enabled = true // default: true
241
244
includeRuntime = true // default: true
242
245
includeAnnotation = true // default: true
246
+ // 注意:如果禁用 includeAnnotation, 你需要自定义 targetMarker 或将其设置为 `null`
247
+ // 更多参考: https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-plugin/pull/73
248
+ // targetMarker = null // 或自定义
243
249
244
250
/*
245
251
* 相当于同时使用 `useJvmDefault` 和 `useJsDefault`.
@@ -702,6 +708,9 @@ suspendTransform {
702
708
// 关闭它们,并使用你自己自定义的 runtime 和 annotation
703
709
includeRuntime = false
704
710
includeAnnotation = false
711
+ // 注意:如果禁用 includeAnnotation, 你需要自定义 targetMarker 或将其设置为 `null`
712
+ // 更多参考: https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-plugin/pull/73
713
+ targetMarker = null // 或自定义
705
714
706
715
addJvmTransformers(
707
716
suspendTransTransformerForJvmBlocking,
0 commit comments