Documentation
Table of Contents

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

cancellationToken CancellationToken

Cancels the read; the previous snapshot then stays.

Returns

Task<IGuardrailSnapshot>

Exceptions

GuardrailLoadException

As Current.

ObjectDisposedException

The source is disposed.