Closed kleysonr closed 9 years ago
As a developer, I would like to use mongo-oplog with Javascript Promise.
So, it's necessary a point to return a 'resolve()' when the mongodb connection is estabilished.
Then, is it possible add a oplog.on('open', [fn]) option ?
@kleysonr Great idea!, I did some annotations to your PR, after those changes I will merge ;-)
I explained the reason I am closing this in the pull request.
As a developer, I would like to use mongo-oplog with Javascript Promise.
So, it's necessary a point to return a 'resolve()' when the mongodb connection is estabilished.
Then, is it possible add a oplog.on('open', [fn]) option ?