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'],
},
},
],
},
});
```