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

io.github.libtmux.control.EventSubscription.EventSubscription.next

Java
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
io.github.libtmux.control.EventSubscription
Declared in
EventSubscription
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/control/EventSubscription.java
next ( ) → Optional<T> ( timeout : Duration ) → Optional<T>
methodoverload2 overloads [source]
methodoverload2 overloads [source]
next

Waits until the next event arrives or this subscription closes.

Parameters
  • timeout ( Duration ) – how long to wait, zero to inspect the buffer without waiting

Returns

the oldest buffered event, or empty when none arrived before the deadline

Raises

0 declared, 0 inherited

Esc

Type to search.