This code introduces the thread activity store sqlite ops to web worker
Depends on D11614
Differential D11615
[sqlite] Implement processing thread activity on web worker will on Apr 9 2024, 10:58 PM. Authored by Tags None Referenced Files
Details This code introduces the thread activity store sqlite ops to web worker Depends on D11614 Ran the following code on web and confirmed the results: await sharedWorker.schedule({ type: workerRequestMessageTypes.PROCESS_STORE_OPERATIONS, storeOperations: { threadActivityStoreOperations: [ { type: 'replace_thread_activity_entry', payload: { id: 'worker_test_A_id', threadActivityStoreEntry: JSON.stringify({ lastNavigatedTo: 1, lastPruned: 2, }), }, }, { type: 'replace_thread_activity_entry', payload: { id: 'worker_test_B_id', threadActivityStoreEntry: JSON.stringify({ lastNavigatedTo: 3, lastPruned: 4, }), }, }, { type: 'remove_thread_activity_entries', payload: { ids: ['worker_test_B_id'], }, }, ], }, });
Diff Detail
|