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.

MoreLess about this notice

method libtmux-java

EventSubscription.publisher

A Flow.Publisher view of this subscription's steps, delivered as demand allows.

Source and package
Qualified name
io.github.libtmux.control.EventSubscription.publisher
Package
io.github.libtmux.control
Declared in
EventSubscription
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/control/EventSubscription.java

Description

Reads that wait for the next step run on a fresh virtual thread, started only while a subscriber has outstanding demand, so a subscriber that never asks never blocks anything. Use #publisher(Executor) to read somewhere else instead.

@see #publisher(Executor)

Type parameters
Parameters
  • executor (Executor) – where each blocking read for the subscriber runs; one that runs a task on the calling thread makes request block on tmux, which the Reactive Streams rules forbid for publisher(executor)

Recorded calls

source calls
No call edges in the Java model.

The Java reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls io.github.libtmux.control.EventSubscription.publisher.

Esc
Search in

Type to search.

Reference previewOpen reference