Skip to content

Commit

Permalink
Add javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcreaser committed Sep 20, 2024
1 parent b0afa08 commit 08620e2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ public HubEvent<?> awaitFirst(int amount, TimeUnit unit) {
return events.isEmpty() ? null : events.get(0);
}

/**
* Unsubscribe from the Hub.
*/
public void stop() {
Amplify.Hub.unsubscribe(this.token.get());
}
Expand Down

0 comments on commit 08620e2

Please sign in to comment.