Page MenuHomePhabricator

[lib] convert `peerToPeerMessageHandler` to a hook
ClosedPublic

Authored by kamil on Jun 10 2024, 4:19 AM.
Tags
None
Referenced Files
F3361812: D12372.diff
Sun, Nov 24, 7:32 PM
Unknown Object (File)
Wed, Nov 20, 2:40 PM
Unknown Object (File)
Wed, Nov 20, 2:40 PM
Unknown Object (File)
Sun, Nov 17, 9:35 AM
Unknown Object (File)
Fri, Nov 8, 7:14 PM
Unknown Object (File)
Fri, Nov 8, 1:52 PM
Unknown Object (File)
Sat, Nov 2, 12:03 AM
Unknown Object (File)
Sat, Nov 2, 12:03 AM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Branch
land-peer-list
Lint
No Lint Coverage
Unit
No Test Coverage