once
Call handler
A module to ensure a function is called only once.
Run a function exactly one time
222 stars
8 watching
29 forks
Language: JavaScript
last commit: about 1 year ago
Linked from 1 awesome list
Related projects:
Repository | Description | Stars |
---|---|---|
sindresorhus/onetime | Ensures a function is only called once by wrapping it in a wrapper function that throws an error if called again | 162 |
isaacs/node-graceful-fs | A module that improves file system interaction by adding error handling and queuing mechanisms to reduce the impact of common errors like EMFILE. | 1,273 |
busterc/promise-do-until | Calls a function repeatedly until a condition returns true and then resolves the promise | 1 |
busterc/promise-do-whilst | Repeats an action until a condition is met, then resolves a promise. | 3 |
busterc/promise-until | Repeats an action until a condition is met and then resolves a promise | 3 |
allouis/minivents | A lightweight JavaScript event handling system with basic methods for listening, emitting, and stopping events | 414 |
koajs/onerror | Provides an error handling mechanism for Koa applications by directly manipulating the application's ctx.onerror property. | 140 |
bttmly/fops | Provides functional, curried versions of common JavaScript operators and language constructs for concise and expressive programming. | 2 |
harijoe/handly | Wraps middleware functions to prevent common mistakes and errors in serverless applications | 16 |
1-liners/1-liners | A collection of highly functional utility functions written in JavaScript | 793 |
javierlopatin/gee_functions | Provides a set of reusable JavaScript functions to facilitate tasks in Google Engine environments. | 2 |
kevinoid/promise-nodeify | A module that simplifies the use of promises by providing a safe and consistent way to handle callbacks. | 2 |
cameronmaske/celery-once | Prevents multiple execution of tasks by checking if they are still running or waiting to be executed | 666 |
samverschueren/obsify | Observableify callback-style functions to enable reactive programming using observable values and subscription handlers. | 41 |
ded/valentine | A JavaScript utility library providing functional iterators and common helpers such as waterfalls, queues, and parallels. | 286 |