Skip to content

Commit

Permalink
Add bridge method for post(EventJS): boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxNeedsSnacks committed Jul 18, 2023
1 parent e7c8924 commit 6e7a840
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ public EventHandler cancelable() {
public boolean post(Object extraId, EventJS event) {
return ((EventHandlerInvoker) this).callPost(event, extraId).interruptFalse();
}

public boolean post(EventJS event) {
return ((EventHandlerInvoker) this).callPost(event, null).interruptFalse();
}
}

0 comments on commit 6e7a840

Please sign in to comment.