(collName: string)
| 485 | const pendingMutations: Array<PendingSharedStateMutation> = [] |
| 486 | |
| 487 | const getLocalCollection = (collName: string): StagedCollection => { |
| 488 | const collection = localCollections.get(collName) |
| 489 | if (!collection) { |
| 490 | throw new Error( |
| 491 | `[agent-runtime] Missing staged shared-state collection "${collName}" for "${id}"` |
| 492 | ) |
| 493 | } |
| 494 | return collection |
| 495 | } |
| 496 | |
| 497 | const createResolvedMutationResult = () => { |
| 498 | return { |
no test coverage detected