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
changeEnvironmentChangeThe change.
contextEnvironmentChangeContextThe client, the current description of a changed target, the recompile cap and the ways to report what the handler did.
ctCancellationTokenCancelled 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