io.vertx.core

## Interface Closeable

-     public interface Closeable

  A closeable resource.

  This interface is mostly used for internal resource management of Vert.x.
  Author:
    Tim Fox

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close(Promise<Void> completion)` Close this resource, the `completion` promise must be notified when the operation has completed.

- - ### Method Detail

    - #### close

          void close(Promise<Void> completion)

      Close this resource, the `completion` promise must be notified when the operation has completed.
      Parameters:
        `completion` - the promise to signal when close has completed

Copyright © 2020 Eclipse. All rights reserved.