HomePhabricator
Diffusion Comm db45cee21a66

[lib] update `processOutboundP2PMessages` to return failed message IDs

Description

[lib] update processOutboundP2PMessages to return failed message IDs

Summary:
ENG-8424.

This was confusing, updating to returned failed messages to throw error and handle this as part of *actionTypes.failed.

Depends on D13324

Test Plan: Check that on success of all messages array is empty, otherwise it returns failed messages.

Reviewers: tomek

Reviewed By: tomek

Subscribers: ashoat

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

Details