Add sleep() and usleep() to nodejs
Zero CPU overhead, zero dependency, true event-loop blocking sleep
Turns async function into sync via JavaScript wrapper of Node event loop
Resolves a promise after a specified delay
A collection of small async/await utilities
Resolves a promise after a specified delay.
Cacheable Utilities for Caching Libraries
Babel plugin to ensure function declarations at the block level are block scoped
Compile ES2015 block scoping (const and let) to ES5
Allow parsing of class static blocks
Transform class static blocks
A promise wrapper for `setTimeout`
sleep any execution for defined milliseconds using timed-sleep. global code execution block sleep timer like python
Parse and lookup IP network blocks
A simple code writer that assists with formatting and visualizing blocks of code.
Sleep
Run a process in the background and attach to it
Several helper functions when working with native promises
A tool for writing better scripts
Halt execution for a specific time period
code block extension for tiptap
a stream of blocks
Sleep / pause execution using Promises and flexible time formats
A real and better system sleep() for Node. Works on every platform.
throttle load of block by calling sleep
A simple C extension that provides blocking sleep without releasing GVL
This method is usefull for when you want to attempt to get a resource on a network and it may fail Or maybe you know that there's a possibility that the databases haven't sync yet and you want to try a few times till they do
Simple solution to the sleep( ) test anti-pattern. Blocks execution until a supplied block returns true, or a specified time interval is reached, at which point an error is raised.
The attempt library provides a thin wrapper for the typical begin/rescue/sleep/retry dance. Use this in order to robustly handle blocks of code that could briefly flake out, such as an http or database connection, where it's often better to try again after a brief period rather than fail immediately.
A Ruby library that can execute a sleep while holding the Global VM Lock, which is pathological behavior that would normally be avoided in practice. However, having an easy method of blocking the Ruby VM from a thread is useful in certain debugging and simulation scenarios.
StartAt is a simple class for future code execution. It is designed to execute a block of code at a specific point in time in the future. StartAt works by spawning a new thread, determining how long it must wait (in seconds) until the future date and time is reached, calling sleep with the exact number of seconds to wait, and then executing the code block. StartAt was derived from a script written to post schedule information to Twitter for a symposium. The schedule robot posted event details exactly five minutes in advance of the event.