HomePhabricator
Diffusion Comm 6e9bf6ed9d9f

[lib] update `useProcessDMOperation` to use `DMOperationSpecification`

Description

[lib] update useProcessDMOperation to use DMOperationSpecification

Summary:
ENG-8423.

In this hook, we need to generate OutboundP2PMessages to save this in DB in the same SQL transaction to handle cases when the app crashes after applying changes to our store and before addressing messages to other peers - this is inconsistency from which we're unable to heal.

Depends on D13145

Test Plan:
Flow

Note: This stack is tested end-to-end according to the process described here.

Reviewers: tomek, inka

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D13146

Details