A closeable resource. This interface is mostly used for internal resource management of Vert.x. @author Tim Fox
| 19 | * @author <a href="http://tfox.org">Tim Fox</a> |
| 20 | */ |
| 21 | public interface Closeable { |
| 22 | |
| 23 | /** |
| 24 | * Close this resource, the {@code completion} promise must be notified when the operation has completed. |
| 25 | * |
| 26 | * @param completion the promise to signal when close has completed |
| 27 | */ |
| 28 | void close(Completable<Void> completion); |
| 29 | } |
no outgoing calls
no test coverage detected