libtmux Reference MCP Search
On this page

tmuxq.WhereSeq

View as Markdown

Module
tmuxq
Package
github.com/libtmux/libtmux-go/tmux
Source
tmuxq/query.go
WhereSeq ( values : iter.Seq[T] , predicate : func(*T) bool ) iter.Seq[T]
function [source]
function [source]
WhereSeq

WhereSeq returns a lazy sequence of shallow copies for values accepted by predicate, retaining source order. It does not pull values until the result is iterated. When its consumer stops, WhereSeq stops pulling from values. For an infinite input, it runs until its consumer stops.

0 declared, 0 inherited

Esc

Type to search.