fulltext-engine
fulltext-engine copied to clipboard
how to stop a stream?
dbl = LevelQuery(dbl)
dbl.query.use(full_text_engine())
stream = dbl.query( key, value )
stream.on( "data", function() { console.log( "at some point i got enough" )} );
At this point, how to "stop" the stream?
i tried stream.pause(), stream.close(), stream.end(), stream.stop() but none seems to work.