RequestQueue.pending.head.metadata: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/RequestQueue.bend as RequestQueue Lines 234-244 of mylsm-lsm-store@0.6.0.1/src/coordinator/RequestQueue.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/RequestQueue.bend&start_line=234&end_line=244 import Base import mylsm-lsm-store@0.6.0.1/src/coordinator/QueuePolicy.bend as Policy def pending.head.metadata(pending: Pending) -> Pending & HeadMetadata: match pending: case Pending{connection_id, accepted_sequence, deadline_ms, encoded_bytes, response_peak, request}: pending.head.metadata.values(u32.clone.pair(connection_id), Policy.nat.clone.pair(accepted_sequence), Policy.nat.clone.pair(deadline_ms), Policy.nat.clone.pair(encoded_bytes), Policy.nat.clone.pair(response_peak), request.opcode.copy(request)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/QueuePolicy.bend&name=nat.clone.pair https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/RequestQueue.bend&name=HeadMetadata https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/RequestQueue.bend&name=Pending https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/RequestQueue.bend&name=pending.head.metadata.values https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/RequestQueue.bend&name=request.opcode.copy https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/RequestQueue.bend&name=u32.clone.pair