open fun addListener(listener: Consumer<LocalIdentity>): Unit
Adds a listener to be notified when the service receives UDP packets that match Scuttlebutt identities. Listeners may be added at any time during the lifecycle of the service
listener - the listener to add
listener