Skip to content

Commit 204d17c

Browse files
committed
Priority
1 parent f9b9b82 commit 204d17c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/fr/aimcvent/handler/api/Handler.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ public interface Handler<E extends Event, T> {
1010

1111
void handle(E event);
1212

13+
default int priority() {
14+
return 0;
15+
}
16+
1317
HandlerCondition<E, T> condition();
1418

1519
}

0 commit comments

Comments
 (0)