HomePhabricator
Diffusion Comm 82d5ff08dc09

[lib] convert `peerToPeerMessageHandler` to a hook

Description

[lib] convert peerToPeerMessageHandler to a hook

Summary:
Avoids passing a lot of callbacks as arguments and makes code easier to maintain.

Depends on D12371

Test Plan: Flow - this is just moving code to a hook, logic remains unchanged. Functionality tested later in the stack.

Reviewers: bartek, tomek

Reviewed By: bartek, tomek

Subscribers: ashoat

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

Details

Provenance
kamilAuthored on Mon, Jun 10, 4:18 AM
Reviewer
bartek
Differential Revision
D12372: [lib] convert `peerToPeerMessageHandler` to a hook
Parents
rCOMMc5dc4cd1873a: [lib] move processing `MESSAGE_TO_DEVICE` to a component
Branches
Unknown
Tags
Unknown