Method ListAsync
- Namespace
- IntentSharp.Documents
- Assembly
- IntentSharp.dll
ListAsync(string, CancellationToken)
The running versions of every document whose path starts with prefix (compared ordinally), in path order; an empty prefix lists them all.
public ValueTask<IReadOnlyList<DocumentVersion>> ListAsync(string prefix, CancellationToken ct = default)
Parameters
prefixstringThe start of the paths to list, such as
"rules/"; empty for every document.ctCancellationTokenCancels the call.
Returns
- ValueTask<IReadOnlyList<DocumentVersion>>
Exceptions
- ArgumentNullException
prefixis null.