Annotation Interface Cancellable


@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface Cancellable
Used on a method that returns a single item async return type (such as Uni or or Kotlin suspend function) to control whether to cancel the subscription to the result if the connection is closed before the result is ready. By default, Quarkus will cancel the subscription
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • value

      boolean value
      Default:
      true