Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

Unreleased libtmux_erlang has not been released. Its API may change during development. This site's structure and URLs may change too.

Erlang API

function libtmux-erlang latest

tmux_matcher:prepare/2

Prepare a local Boolean predicate once for this captured snapshot. Return a tagged preparation error when the matcher cannot operate. Callback exceptions remain application failures; this does not make a matcher portable or suitable for untrusted module selection.

Source and package
Qualified name
tmux_matcher:prepare/2
Declared in
tmux_matcher
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_matcher.erl
-callback prepare(State :: term(), Snapshot :: tmux_snapshot:t()) -> {ok, fun((tmux_model:row()) -> boolean())} | {error, term()}.
Parameters
Esc

Type to search.

Reference previewOpen reference