Package icyllis.modernui.annotation
Annotation Interface MainThread
@Documented
@Retention(CLASS)
@Target({METHOD,CONSTRUCTOR,TYPE,PARAMETER,ANNOTATION_TYPE})
public @interface MainThread
Denotes that the annotated method should only be called on the main thread,
the thread is used for handling events from the window system.
Main thread can sometimes be the same thread as render thread.
Main thread can sometimes be the same thread as render thread.