报告不应阻塞线程的代码段中的线程阻塞方法调用。

示例 (Reactor):


Flux.just("1").flatMap(f -> {
    Flux<String> just = Flux.just(f);
    just.toIterable(); // Error: blocking operator call in non-blocking scope
    return just;
  }
);

示例(Kotlin 协同程序):


suspend fun exampleFun() {
    Thread.sleep(100); // Error: inappropriate blocking method call inside suspend function
}

配置检查:

指定的注解可用作外部注解