(ids, documentId)
| 92 | |
| 93 | /** Moves values of a pre-rendered page identified by documentId to frameId:0 */ |
| 94 | export function reifyValueOpener(ids, documentId) { |
| 95 | for (const id of ids) { |
| 96 | openers[id]::forEachValue(frames => { |
| 97 | if (documentId in frames) { |
| 98 | frames[0] = frames[documentId]; |
| 99 | delete frames[documentId]; |
| 100 | } |
| 101 | }); |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | function commit(flushNow) { |
| 106 | cachedStorageApi.set(toCommit, flushNow); |