Skip to main content

Definition

Assembly: CloudNimble.McpEssentials.Core.dll Namespace: CloudNimble.McpEssentials.Core.Tasks

Syntax

Summary

Fan-out for InputResponseReceived across processes. Stores with no native pub/sub (Entity Framework Core, distributed cache, Azure Tables) take this as an optional constructor argument.

Remarks

Payload is task id plus request id only. Do not put tokens, vault ids, or elicitation secrets on the bus; the store already has the response body. Missing bus plus multiple nodes means elicitation waits until timeout.

Methods

PublishAsync Abstract

Publishes that requestId on taskId was resolved.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task

Subscribe Abstract

Subscribes to resolved-input signals. The handler receives task id then request id.

Syntax

Parameters

Returns

Type: System.IDisposable A subscription that stops delivery when disposed.