Skip to content

Commit

Permalink
close if needed. (#9)
Browse files Browse the repository at this point in the history
close if needed method.
  • Loading branch information
portlek committed Jul 19, 2022
1 parent 02b9e91 commit f3d9e43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/tr/com/infumia/terminable/Terminable.java
Expand Up @@ -17,6 +17,11 @@ default void bindWith(@NotNull final TerminableConsumer consumer) {
consumer.bind(this);
}

/**
* closes if needed.
*/
default void closeIfNeeded() {}

/**
* closes the returns the exception if occurs.
*
Expand Down

0 comments on commit f3d9e43

Please sign in to comment.