mafintosh / changes-feed

Basic changes-feed implementation that runs on top of leveldb
MIT License
28 stars 3 forks source link

[Request] since: 'now' #7

Closed vespakoen closed 8 years ago

vespakoen commented 8 years ago

Hey!

First of all, thanks for this package!

I think it would be nice if there would be a since: 'now' option. I am guessing that for that to work, the createReadStream method has to ensureCount first and so it should hold back sending values until it knows what the count is.

I am not sure if that is even possible?

As an alternative, I think that exposing a method that allows me to get the count would suffice as well.

Besides that I am totally approving @mvayngrib's pull requests.

Thanks and let me know if I can help!

vespakoen commented 8 years ago

I have found another way of using the package causing me to not need the since: now option anymore, closing...