Skip to content

Commit

Permalink
label SAM interfaces with annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
granny committed Apr 12, 2024
1 parent 8fcb620 commit 5e3ffcc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public ServerSentEventHandler get() {
/**
* Notification that is called when a message is sucessfully sent
*/
@FunctionalInterface
public interface SuccessCallback {
/**
* @param connection The connection
Expand All @@ -113,6 +114,7 @@ public interface SuccessCallback {
/**
* Notification that is called when a message send fails.
*/
@FunctionalInterface
public interface FailureCallback {
/**
* @param connection The connection
Expand Down

0 comments on commit 5e3ffcc

Please sign in to comment.