Skip to content

JsonDurableLogCommandCodec<T>.WriteDraftCommit(LogDraftId, long, ReadOnlySpan<T>, JournalStreamWriter)

WriteDraftCommit(LogDraftId, long, ReadOnlySpan<T>, JournalStreamWriter)

View source
public void WriteDraftCommit(LogDraftId draftId, long sequence, ReadOnlySpan<T> items, JournalStreamWriter writer)
Writes one command which commits a draft by appending items, in order, from sequence.

Parameters

draftIdLogDraftId
sequencelong
itemsReadOnlySpan<T>
writerJournalStreamWriter