Is there a way to buffer stream outputs for some a...
# rx
a
Is there a way to buffer stream outputs for some amount of time and return a list of emissions? Let's say I'm wrapping a callback from an API that calls the callback each time a device is found on the network. I'd like the client code to listen for events for N seconds and then return a SIngle<List<Device>> of elements detected in that time.
I guess I could probably use
buffer
with
first
💯 1
u
I think
window
☝️ 1