mcp.src.TmuxTools.wait_for_channel
- #[tool_router(router = observe_router, vis = "pub(super)")] impl Tmux
Tools #[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-forchannel to be signalled.- Parameters