We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f70c9 commit 545c805Copy full SHA for 545c805
Sources/TSFCASUtilities/LinkedListStream.swift
@@ -38,7 +38,7 @@ public struct LLBLinkedListStreamWriter {
38
public mutating func append(data: LLBByteBuffer, channel: UInt8, _ ctx: Context) -> LLBFuture<LLBDataID> {
39
let latestData = (
40
// Append on the previously cached node, or use nil as sentinel if this is the first write.
41
- latestData?.map { $0 } ?? db.group.next().makeSucceededFuture(nil)
+ self.latestData?.map { $0 } ?? db.group.next().makeSucceededFuture(nil)
42
).flatMap { [db, ext] (previousData: (id: LLBDataID, aggregateSize: Int)?) -> LLBFuture<(id: LLBDataID, aggregateSize: Int)> in
43
db.put(data: data, ctx).flatMap { [db, ext] contentID in
44
0 commit comments