Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-java latest

EventSubscription.next

Waits until the next step arrives or this subscription closes.

Source and package
Qualified name
io.github.libtmux.control.EventSubscription.next
Package
io.github.libtmux.control
Declared in
EventSubscription
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/control/EventSubscription.java
Type parameters
Parameters
  • timeout (Duration) # – how long to wait, zero to inspect the buffer without waiting for next(timeout)

Returns

the next gap or event, or empty when the subscription has closed and no gap is waiting for next()

the next gap or event, or empty when none arrived before the deadline for next(timeout)

Raises

Guides#

Pages that discuss next.

Esc

Type to search.

Reference previewOpen reference