HomePhabricator
Diffusion Comm 3aca795e8ca2

[lib] refactor methods from `PeerToPeerContext` to utils

Description

[lib] refactor methods from PeerToPeerContext to utils

Summary:
ENG-9106.

The code in Context is messy and complicated, moving this to methods to make it clean. See usages in next diff - I am going to link source code from Githb to make it easier for review.

Depends on D13373

Test Plan: Tested in D13376

Reviewers: bartek, tomek, marcin

Reviewed By: bartek, tomek

Subscribers: ashoat

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

Details