Method ReloadAsync
- Namespace
- IntentSharp.Guardrails
- Assembly
- IntentSharp.Guardrails.dll
ReloadAsync(CancellationToken)
Reads the manifest and every listed document from the store now, whether or not the store reported a change, and returns the snapshot.
public Task<IGuardrailSnapshot> ReloadAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancels the read; the previous snapshot then stays.
Returns
- Task<IGuardrailSnapshot>
Exceptions
- GuardrailLoadException
As Current.
- ObjectDisposedException
The source is disposed.