[web] refactor processing store ops to separate function
Summary:
Refactor to make code cleaner
Depends on D9954
Test Plan: Make sure processing ops still works
Reviewers: tomek, michal
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D9955