Package io.smallrye.common.annotation
Annotation Interface RunOnVirtualThread
@Retention(RUNTIME)
@Target({METHOD,TYPE})
@Experimental("This is an experimental feature still at the alpha stage")
public @interface RunOnVirtualThread
If supported, this annotation indicates that the (blocking) method should be invoked on a virtual thread instead of
a regular (OS) worker thread.
This annotation should only be used on blocking methods, either marked explicitly blocking (using
Blocking) or considered blocking by the underlying framework.- See Also: