
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
@esfx/async-waitqueue
Advanced tools
Provides 'WaitQueue', an async coordination primitive used to queue and resolve promises.
@esfx/async-waitqueue
The @esfx/async-waitqueue
package provides the WaitQueue
class, an async coordination primitive used to queue and resolve promises.
npm i @esfx/async-waitqueue
import { WaitQueue } from "@esfx/async-waitqueue";
async function main() {
const queue = new WaitQueue();
// Create two pending "waiters" in the queue
const p1 = queue.wait();
const p2 = queue.wait();
// Resolve the two pending "waiters" in the queue
queue.resolveOne(1);
queue.resolveOne(2);
await p1; // 1
await p2; // 2
}
You can read more about the API here.
FAQs
Provides 'WaitQueue', an async coordination primitive used to queue and resolve promises.
The npm package @esfx/async-waitqueue receives a total of 1,877 weekly downloads. As such, @esfx/async-waitqueue popularity was classified as popular.
We found that @esfx/async-waitqueue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.