MCPcopy Index your code
hub / github.com/anomalyco/opencode / sameQueue

Function sameQueue

packages/opencode/src/cli/cmd/run/subagent-data.ts:93–97  ·  view source on GitHub ↗
(left: T[], right: T[])

Source from the content-addressed store, hash-verified

91}
92
93function sameQueue<T extends { id: string }>(left: T[], right: T[]) {
94 return (
95 left.length === right.length && left.every((item, index) => item.id === right[index]?.id && item === right[index])
96 )
97}
98
99function queueSnapshot(data: SessionData) {
100 return {

Callers 1

queueChangedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected