Documentation
Table of Contents

Method DescribeAsync

Namespace
IntentSharp.ChangeDetection
Assembly
IntentSharp.dll

DescribeAsync(string, CancellationToken)

The current description of the target named target: the one a TargetRuntime of this client received last in this process, or null when no runtime of this client has described that target yet. After a null, the client raises that target's TargetSchema change when a runtime first describes it in this process, even when its fingerprint is the one recorded (then PreviousFingerprint equals CurrentFingerprint), so the work that needed the description can be done then.

public ValueTask<TargetDescription?> DescribeAsync(string target, CancellationToken ct = default)

Parameters

target string

The target's name.

ct CancellationToken

Cancels the call.

Returns

ValueTask<TargetDescription>

Exceptions

ArgumentNullException

target is null.