Documentation
Table of Contents

Method HandleAsync

Namespace
IntentSharp.Guardrails
Assembly
IntentSharp.Guardrails.dll

HandleAsync(EnvironmentChange, EnvironmentChangeContext, CancellationToken)

Compiles the rule sets change concerns; see the class remarks.

public ValueTask HandleAsync(EnvironmentChange change, EnvironmentChangeContext context, CancellationToken ct = default)

Parameters

change EnvironmentChange

The change the client found.

context EnvironmentChangeContext

The client, the target's current description, the recompile cap and the reporting members.

ct CancellationToken

Cancelled when environment.handlerTimeout is up; a compile not finished by then leaves the previous version running.

Returns

ValueTask

Exceptions

ArgumentNullException

change or context is null.

OperationCanceledException

ct was cancelled.