@FunctionalInterface public interface AsyncCloseable
AutoCloseable, the closeAsync()
method releases the resources asynchronously, returning the CompletableFuture which is completed
after the resources are released.| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<?> |
closeAsync()
Releases the resources held by this object asynchronously.
|
CompletableFuture<?> closeAsync()
CompletableFuture which is completed after the resources are releasedCopyright © 2020 LeanCloud. All rights reserved.