Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

ProgressReporter

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

API reference · Markdown

struct ProgressReporter : struct ProgressReporter
struct [source]
struct [source]
struct ProgressReporter

Says that a call is still running, to a client that asked to be told.

A wait can hold a request for a minute, and without this the client cannot tell that from a server that has died — so it either shows nothing or gives up. MCP's answer is notifications/progress, which a client opts into by putting a progressToken in a request's _meta. Measured against the Codex CLI, which sends one on every tools/call.

Silent when no token was sent: an unsolicited notification is a protocol error, not a courtesy.

Members

silent

silent : static let silent: ProgressReporter
propertystatic [source]
propertystatic [source]
silent

Reports nothing, for a caller with no client behind it.

init(token:emit:)

init(token:emit:) ( token : JSONValue? , emit : @escaping (String) async -> Void )
methodasync [source]
methodasync [source]
init(token:emit:)
Esc

Type to search.