Method AppendAsync
- Namespace
- Oscova.Agents.Vector
- Assembly
- Oscova.Agents.dll
AppendAsync(DurableVectorSpace, string, string?, string, int, int, IReadOnlyList<DurableVectorChunk>, CancellationToken)
Appends one ordered batch when the source is still at the expected committed position.
public Task<DurableVectorAppendResult> AppendAsync(DurableVectorSpace space, string sourceId, string? ownerId, string generationId, int expectedPosition, int nextPosition, IReadOnlyList<DurableVectorChunk> chunks, CancellationToken cancellationToken = default)Parameters
spaceDurableVectorSpacesourceIdstringownerIdstring?generationIdstringexpectedPositionintnextPositionintchunksIReadOnlyList<DurableVectorChunk>cancellationTokenCancellationToken