Stores edges in a flat map keyed by canonical edge identity
(deviceIdA||deviceIdB||edgeType||signalValue) and device caches in a
separate map. All data is lost when the process exits.
Parameters
maxEdgesPerDevice: number = 50
Maximum edges retained per device side. Default: 50.
Create an in-memory PeerStorage.
Stores edges in a flat map keyed by canonical edge identity (
deviceIdA||deviceIdB||edgeType||signalValue) and device caches in a separate map. All data is lost when the process exits.