fun addListener(listener: (Peer) -> Unit): Unit
Adds a listener to the repository, which will consume peer entries whenever they are added to the repository.