@Target(value=METHOD)
@Retention(value=RUNTIME)
public static @interface Events.Status
Method marked with this annotation will receive status updates for events
with specified key on main thread.
EventStatus.STARTED
status will be sent before any subscribed method is executed
(right after event is posted to the bus) and for all newly registered events receivers
if execution of all subscribed methods is no yet finished.EventStatus.FINISHED
status will be sent after all subscribed methods
(including background) are executed.Allowed method parameters
method(EventStatus
)
method(Event
, EventStatus
)
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value |