davidmarkclements

davidmarkclements/atomic-sleep

⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️

JavaScript
85
3
MIT License

Atomic Sleep is a JavaScript library that provides a zero CPU overhead, event-loop blocking sleep function using `SharedArrayBuffer` and `Atomics`. It's designed for developers working with modern Node.js or browser environments who need to pause execution without consuming CPU resources, though it falls back to CPU-intensive blocking for older environments.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of davidmarkclements/atomic-sleep

Account's avatar
JavaScript Standard Style
Account's avatar
tap-producing test harness for node and browsers

Support the repos that depend on this repository

Top contributors

No contributors yet

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet