DirtyHairy/async-mutex

Question about Usage

Closed this issue · 2 comments

The NPM page's example for promise-style locking does not call the release() function. It seems, from the text and other examples on the page, that release() needs to be called. Would it be possible to update the example so that this is clearer?

Indeed. I'll update the documentation.

I have updated the documentation.