[lib] Create a new action and a reducer that queue the operations
Summary:
Dispatch an action when an operation can't be processed. Add to a queue in the reducer.
https://linear.app/comm/issue/ENG-8916/create-a-new-action-and-a-reducer-that-queue-the-operations
Depends on D12948
Test Plan: Processed an operation for a missing thread and verified that it was added to the queue in Redux.
Reviewers: kamil, inka
Reviewed By: inka
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D12949