Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

pjobs

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

7

dist/queue.d.ts

@@ -14,6 +14,7 @@ export declare type QueueState = {

export declare type Job<T> = () => Promise<T>;
export declare function queuePromises(opts?: QueryPromisesOpts): {
state(): QueueState | "idle";
export interface QueuePromises {
state(): 'idle' | QueueState;
enqueue<T>(item: Job<T>): void;
waitFor(): Promise<void>;
};
}
export declare function queuePromises(opts?: QueryPromisesOpts): QueuePromises;
{
"name": "pjobs",
"description": "A simple and efficient queue job executor using promises. And some promise's utilities.",
"version": "1.0.2",
"version": "1.0.3",
"private": false,

@@ -6,0 +6,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc