pub fn join_psync_group(
group: Name,
send: Sender<Bytes>,
recv: Receiver<Bytes>,
config: PSyncConfig,
) -> SyncHandleExpand description
Join a PSync group.
Spawns a background task that:
- Periodically sends Sync Interests carrying the local IBF
- Processes incoming Sync Interests (subtracts IBFs, replies with diff)
- Processes incoming Sync Data (emits
SyncUpdatefor missing hashes)
§Arguments
group— sync group prefix (e.g./ndn/psync/chat)send— channel to send outgoing packets (Interests and Data)recv— channel to receive incoming packets from the networkconfig— PSync configuration