Redigera

Dela via


ILogViewUpdate<TLogEntry>.TryAppendRange Method

Definition

Try to append a range of log entries atomically at the current position of the log.

public System.Threading.Tasks.Task<bool> TryAppendRange (System.Collections.Generic.IEnumerable<TLogEntry> entries);
abstract member TryAppendRange : seq<'LogEntry> -> System.Threading.Tasks.Task<bool>
Public Function TryAppendRange (entries As IEnumerable(Of TLogEntry)) As Task(Of Boolean)

Parameters

entries
IEnumerable<TLogEntry>

Returns

true if the entries were appended successfully, or false if there was a concurrency conflict (i.e. some other entries were previously appended).

Applies to