Closed christophercliff closed 11 years ago
Nice, thanks! I'll have a look at this now - the convention with level
is to supply the database yourself, in case someone wants to extend it beforehand or use an alternative module with an equivalent API. I'll include it as a peer dependency :)
Do you have any more specifics on the streaming issue? Or is it just not firing at all?
Merged! I've made a couple of small changes, and added an example to the repo - I think the only issue before was that the file stream needs to get piped to syncer
in the same tick it's created.
:thumbsup: Great! Fun project, learned a lot. Now to implement in http://caisson.co/
Sweet, glad to hear it :) And nice, saw this the other day - look forward to seeing the results!
This is not quite working yet--there is a problem in the
getCache
callback where the stream events aren't being triggered. Suggested usage like:Also added
level
as a dependency--I think that would be the typical use case, no?Fixes issue #1