pub fn sync_in_memory(
local_events: &[Event],
remote_events: &[Event],
) -> Result<SyncInMemoryResult, InMemoryError>Expand description
Run a full sync between two event sets using in-memory transport.
Returns the new events each side received and their respective reports. This simulates the 3-round protocol by manually wiring each round.
ยงErrors
Returns InMemoryError if the in-memory transport encounters an
unexpected state (e.g. empty receive buffer).