async-sema

Semaphore using `async` and `await`

MIT License

Downloads
6.9M
Stars
607
Committers
15

Bot releases are hidden (Show)

async-sema - Latest Release

Published by leerob about 3 years ago

Patches

  • ZEIT to Vercel: #44
  • Update all dependencies.: #45
async-sema -

Published by leerob about 3 years ago

Minor Changes

  • Feat: expose tryAcquire(): e65013792fb3609a025bbe992bd3f410aab6bb71

Patches

  • Update readme: #38
  • Git ignore lock files: 7e23d2b3100e68379b651d2f9aecffb5b307b2bb
  • Bump dev dependencies: 95cf8e48e990f1a866fd234f34b6f60c97afaeb2
async-sema - Release 3.0.0

Published by OlliV over 5 years ago

  • Improved documentation
  • RateLimit: Rename the undocumented equalDistribution option to uniformDistribution
  • Port to TypeScript, change how constructors are exported, and remove deprecated functions
  • Fix sema acquire() with falsy tokens. Storing a token like null or 0 may cause a dead lock
async-sema - Release 2.2.0

Published by OlliV over 5 years ago

  • Bring in deque for smaller bundle size #27
    Thanks to @timneutkens
async-sema - https://github.com/vercel/async-sema/releases/tag/2.0.0

Published by leo over 6 years ago

Major Changes

  • New function names for clarity: #14

Credits

Huge thanks to @OlliV for helping!

async-sema -

Published by leo about 7 years ago

Minor Changes

  • Added support for stream pause and resume callbacks: #5

Patches

  • Keywords for npm added: 0a4984de2c039367b0ac3d04b97b9305e4bec3d6
  • Fixed drain() function: e03d53f827ad56fa728c3fa55727a06aa20ce189

Credits

Huge thanks to @OlliV for his help!

async-sema -

Published by leo about 7 years ago

Patches

  • Fixed a typo in readme.md: cf2f72b80239d94ccc384bb148e04911aa4d3878
  • Added import comments and single quotes: 0c31f0c0bd6702e2f6a6bbb3bda875c96bfbff36
  • Removed badges, not necessary: dafe256d964a1e30b063be62c2200123c3e0626f
  • Proper JS keywords in readme: 4208365313c723ef80048da30483098eaff9bd78
  • Corrected contributing heading: 145e30cd7425173dd37c3d04114b14a34fe92539
async-sema -

Published by leo about 7 years ago

Hello, world! 👋

Package Rankings
Top 28.28% on Repo1.maven.org
Top 1.36% on Npmjs.org