MCPconceptAPI 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.

mcp.src.TmuxTools.wait_for_channel

#[tool_router(router = observe_router, vis = "pub(super)")] impl TmuxTools #[tool( description = "Block until something signals a tmux wait-for channel. A pending \ signal is consumed. Pair this with a shell command that ends in \ `tmux wait-for -S <channel>` to synchronise with work this server \ did not start.", title = "Wait For Channel", meta = crate::capability_meta!(Manage, None, [Change], [TmuxMetadata], true, true, { "channel" => [TmuxState], "seconds" => [None] }) )] pub async fn wait_for_channel( &self, Parameters(ChannelArgs { channel, seconds }): Parameters<ChannelArgs>, ) -> Result<Json<ChannelWait>, ToolError>

Wait for a wait-for channel to be signalled.

Esc

Type to search.

Reference previewOpen reference