@Retention(value=RUNTIME)
@Target(value=METHOD)
@Documented
public @interface JsAsync
Adding this annotation to a method adds an async
keyword to the generated JavaScript
function.
There are some limitations apply on JsAsync to make the annotation practical:
null
.
This is an EXPERIMENTAL annotation and only works in J2CL.