-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Now that promises and await/async are standard in the node ecosystem, I could be nice to have an async function like this directly integrated in the library :
await sem.asyncTake();
// I'm currently doing it like this:
const asyncTake = sem => new Promise((resolve, reject) => sem.take(resolve));ik9999, normanzb, Niek, alitoufighi, maria-ruy and 2 more
Metadata
Metadata
Assignees
Labels
No labels