method libtmux-java latest
ServerMirror.onNewer
Arms a one-shot wakeup for when a view newer than epoch is published or the mirror ends.
Source and package
- Module
- io.github.libtmux.snapshot
- Declared in
- ServerMirror
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/snapshot/ServerMirror.java
-
Description#
Runs
callbackat once, on this thread, when such a view already exists or the mirror has ended; otherwise once, on the mirror's own thread. The callback must not block.- Raises
-
-
Illegal
State – if a callback is already armedException
-