Without promise.all, I think it can be replicated like this:
try{ await someOp(session); catch { } await someOtherOp(session);
They implemented a "disposer" incorrectly (I added this to several other libraries and made a Q&A about it here https://stackoverflow.com/questions/28915677/what-is-the-pro... )
Without promise.all, I think it can be replicated like this:
He expected what the session to be invalidated during someOtherOp.