Annotation Type AllowConcurrentEvents



  • @Retention(value=RUNTIME)
     @Target(value=METHOD)
     @Beta
    public @interface AllowConcurrentEvents
    Marks an event subscriber method as being thread-safe. This annotation indicates that EventBus may invoke the event subscriber simultaneously from multiple threads.

    This does not mark the method, and so should be used in combination with Subscribe.

    Since:
    10.0