McpClient.onProgress

Typed observer for notifications/progress (basic/utilities/progress).

When set, an inbound notifications/progress is parsed into a ProgressNotification and delivered here in addition to the generic onNotification. Correlate n.progressToken against the ProgressToken you attached to the originating request (via RequestOptions.progressToken on callTool/readResource/getPrompt/ complete) to track an individual request's progress.

class McpClient
void delegate(ProgressNotification n) @(safe) onProgress;