digitalinteraction / deconf-api-toolkit

A library for running decentralised virtual conferences
https://deconf-api.openlab.dev/
MIT License
2 stars 0 forks source link

Simpler semaphore usage #40

Open robb-j opened 2 years ago

robb-j commented 2 years ago
const result = await semaphore.run("key", async () => {
  // do the semaphore stuff
})

Or add key to service options to simplify more