This creates an observable out of the UDP Discovery. I'm assuming in practice someone will want to only run this for a little while (UDP packets don't last forever!):
var pbl = require('pipboylib');
var x = pbl.connection.createDiscovery()
.bufferWithTime(250)
.first()
.subscribe(x => console.log(x))
Please bikeshed on the name for me, I didn't know what to call it.
Probably worth noting that I made this in addition to the other discovery so that it would be part of a minor release (new feature in, nothing else different).
This creates an observable out of the UDP Discovery. I'm assuming in practice someone will want to only run this for a little while (UDP packets don't last forever!):
Please bikeshed on the name for me, I didn't know what to call it.