Skip to main content

Definition

Assembly: CloudNimble.McpEssentials.Core.dll Namespace: CloudNimble.McpEssentials.Core.Tasks Inheritance: System.Object

Syntax

Summary

Wire payload for a resolved-input notification: task id, a newline, then request id. Native channels (Redis pub/sub, Postgres NOTIFY) publish this string as-is.

Remarks

Split is on the first newline so a request id may contain further newlines. Task ids from McpTaskStoreBase do not contain newlines.

Methods

Format

Builds the payload published on the native channel and used as the local-echo token.

Syntax

Parameters

Returns

Type: string taskId, a newline, then requestId.

TryParse

Reads String) back into task id and request id.

Syntax

Parameters

Returns

Type: bool true when payload has a non-empty task id, a newline, and a non-whitespace request id.