Edit

Share via


PrimaryBasedLogViewAdaptor<TLogView,TLogEntry,TSubmissionEntry>.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> logEntries);
abstract member TryAppendRange : seq<'LogEntry (requires 'LogEntry : null)> -> System.Threading.Tasks.Task<bool>
override this.TryAppendRange : seq<'LogEntry (requires 'LogEntry : null)> -> System.Threading.Tasks.Task<bool>
Public Function TryAppendRange (logEntries As IEnumerable(Of TLogEntry)) As Task(Of Boolean)

Parameters

logEntries
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).

Implements

Applies to