Documentation
Table of Contents

Method DescribeAsync

Namespace
IntentSharp.Targets
Assembly
IntentSharp.dll

DescribeAsync(TargetContext, CancellationToken)

Describes what the target holds: its command language, the schema of a command, its entities with their fields and operations, and guidance for the model. The runtime calls it before an operation when the target has no probe, when the probe's token changed, or when asked to describe again.

ValueTask<TargetDescription> DescribeAsync(TargetContext context, CancellationToken ct = default)

Parameters

context TargetContext

The operation's context; its Description is null.

ct CancellationToken

Cancels the call.

Returns

ValueTask<TargetDescription>

The description. Never put connection data in it.