Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-java latest

ServerMirror.onNewer

Package io.github.libtmux.snapshot.ServerMirror.onNewer io.github.libtmux.snapshot

Arms a one-shot wakeup for when a view newer than epoch is published or the mirror ends.

View as Markdown

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
onNewer ( epoch : long , callback : Runnable ) → void
method [source]

Description#

Runs callback at 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
Esc

Type to search.