Search results
134 packages found
An effort to enable single lambda handles functionally the same requests from different sources: console test, sns, sqs, api gateway and api invoke. It also addresses AWS lambda EMFILE issue.
- node
- AWS
- lambda
- console test
- sns
- sqs
- api gateway
- api invoke
- EMFILE
- file descriptor
- limit
- leak
- Timeout
- ioredis
- View more
React.js custom hook that sets a leak-safe timeout and returns a function to cancel it before the timeout expires.
Modern version of setInterval for promises and async functions available in Node.js and browsers.
- setInterval
- setTimeout
- clearInterval
- clearTimeout
- interval
- timeout
- milliseconds
- seconds
- promise
- promises
- async
- asynchronous
- await
- recurrent
- View more
A flexible utility for managing chains of asynchronous functions with advanced error handling and timeout support.
An adaptable utility function for executing asynchronous actions with configurable timeouts and retry capabilities, ensuring robust handling of transient failures in network requests or other operations.
0-dependency JavaScript helper functions for various operations, used across my projects.
sleep-utils is a utility package for handling asynchronous sleep operations in both JavaScript (JS) and TypeScript (TS) environments. It provides functions to pause the execution of code for a specified amount of time, making it useful in scenarios where
- sleep
- delay
- asynchronous
- timer
- timeout
- await
- pause
- wait
- time
- scheduling
- time-management
- timeout-utils
- timing
- promise
Restify is a comprehensive npm package that streamlines and enhances the handling of HTTP requests in JavaScript applications.
Set of universal utility functions around timing and scheduling in JavaScript
- timing
- setTimeout
- setImmediate
- requestAnimationFrame
- requestIdleCallback
- rAF
- rIC
- JavaScript
- node
- browser
- worker
- JS
- utility
- function
- View more
Ensure a function is always called within a timeout period
- function
- timeout
- ensure
- guarantee
- called
- timeout function
- create function
- create function with timeout
- function with timeout
- google analytics
A collection of wrappers and utility functions for working with AbortSignals.
- AbortSignal
- signal
- abort
- aggregate
- timeout
- AggregateSignal
- aggregate-signal
- aggregate signal
- anySignal
- any-signal
- any signal
- TimeoutSignal
- timeout-signal
- timeout signal
- View more
Wrap a function to retry on specific errors
Defer function calls to the start of the next cycle.
retry any function (with or without timeout) with either fixed back off or exponential back off
Wrap an async function to time out after a specified interval
You have to call the function button within a designated time or a function will be called.
Set of methods allowing simplify work with promises in cycle such as: forEach, map, find, filter, reduce, while, transform. Besides there are methods for comfortable work with promises or asynchronous operations - all, retry, timeout.
- promise
- promises
- performance
- async
- await
- deferred
- deferreds
- future
- flow control
- fluent interface
- promise methods
- foreach
- reduce
- filter
- View more
A Promise.race timeout function which can be used with any module loader
Runs an interval with elastic timeout.