This commit is contained in:
dordsor21 2021-09-13 13:27:47 +01:00
parent 5207981fb2
commit f641fc1716
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -186,10 +186,17 @@ public interface Clipboard extends Extent, Iterable<BlockVector3>, Closeable, Fl
return apply(region, filter);
}
/**
* Close the clipboard. May not allow further reading of the clipboard if saved on disk.
*/
@Override
default void close() {
}
/**
* Flush the clipboard if appropriate. Only does something if using clipboard-on-disk. Blocking method and ensures all data
* is saved to disk for any further operation with the clipboard.
*/
@Override
default void flush() {
}