https://github.com/testdouble/lockify
Ensure an async function does not run concurrently.
https://github.com/testdouble/lockify
async javascript promise
Last synced: 9 months ago
JSON representation
Ensure an async function does not run concurrently.
- Host: GitHub
- URL: https://github.com/testdouble/lockify
- Owner: testdouble
- Created: 2017-08-01T14:43:48.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2023-04-20T15:02:27.000Z (almost 3 years ago)
- Last Synced: 2025-06-11T01:50:47.920Z (10 months ago)
- Topics: async, javascript, promise
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/lockify
- Size: 25.4 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lockify
## Use promises to ensure a function doesn't execute concurrently
Most asynchronous functions are fine to run concurrently with themselves.
But when they're not - lockify them.