Documentation
Table of Contents

Method HandleAsync

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

HandleAsync(EnvironmentChange, EnvironmentChangeContext, CancellationToken)

Acts on change.

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

Parameters

change EnvironmentChange

The change.

context EnvironmentChangeContext

The client, the current description of a changed target, the recompile cap and the ways to report what the handler did.

ct CancellationToken

Cancelled when the handler's time is up. It does not follow the token of the operation that found the change: a change is handled to the end even when that operation is cancelled, and the next operation reports it.

Returns

ValueTask