Can anyone give me a little insight as to why the 'init' post hook is now synchronous?
I was using it as a way to implement a transaction-type functionality, basically I had a flag on my document that instructed my middleware to delete a bunch of documents in another collection when set.
if anyone else has suggestions as how I should be implementing that that would be great
actually I realized that there are a few instances in my init functions where I accidentally don't call next(); they work fine, without the invocation which means it was probably never using it in the first place.
still, not good practice so I'll have to go and remove them and make some notes.
I guess it's better for me to stick to whatever methods mongo was suggesting in implementing multi-phase commits.