@FunctionalInterface
public static interface AsyncCloseables.CloseableResource
AsyncCloseable
.Modifier and Type | Method and Description |
---|---|
Completable |
doClose(boolean graceful)
Supplies the
Completable representing the close. |
Completable doClose(boolean graceful)
Completable
representing the close.graceful
- true
if the returned Completable
should attempt to close gracefully.Completable
representing close of the resource.