Improvement of Listener

This commit is contained in:
jacek.wolniewicz
2024-07-03 22:29:11 +02:00
parent 660cb287e9
commit 290a4970fd

View File

@@ -28,11 +28,15 @@ import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
public @interface TikTokEventObserver {
/**
* When more than one method listen for certain Even, you can specify the method priority
* @return
*/
Priority priority() default Priority.NORMAL;
/**
* when true, action is invoked on the another thread
* When true, action is invoked on the another thread
* @return
*/
boolean async();
boolean async() default false;
}