BackupCursor.item.decided: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/transfer/BackupCursor.bend as BackupCursor Lines 132-149 of mylsm-lsm-store@0.6.0.1/src/transfer/BackupCursor.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/BackupCursor.bend&start_line=132&end_line=149 import Base import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable import mylsm-lsm-store@0.6.0.1/src/scan/VisibleCursor.bend as VisibleCursor import mylsm-lsm-store@0.6.0.1/src/transfer/Backup.bend as Backup import mylsm-lsm-store@0.6.0.1/src/transfer/BackupCursorPolicy.bend as Policy def item.decided( decision: Policy.AppendDecision, cursor: Maybe<&1, VisibleCursor.Cursor>, pending: List<&1, ByteMemTable.Entry>, expected: Nat, entry_count: U32, block_count: U32, block_index: U32 ) -> Step: match decision: case Policy.CursorRejected{}: Failure{cursor, Backup.ResourceLimit{}} case Policy.CursorBuffer{seen, pending_count}: Continue{Stream{CursorBlocks{}, cursor, pending, pending_count, seen, expected, entry_count, block_count, block_index}} case Policy.CursorBlockReady{seen, pending_count}: item.full(cursor, pending, seen, expected, entry_count, block_count, block_index, pending_count, CursorBlocks{}) Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/VisibleCursor.bend&name=Cursor https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/Backup.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/BackupCursor.bend&name=Phase https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/BackupCursor.bend&name=Step https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/BackupCursor.bend&name=Stream https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/BackupCursor.bend&name=item.full https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/BackupCursorPolicy.bend&name=AppendDecision