Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

putil-taskqueue

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

putil-taskqueue - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

4

lib/TaskQueue.d.ts

@@ -11,3 +11,3 @@ import {EventEmitter} from 'events';

export type Task = (done: (e?: Error) => void) => void;
export type AsyncTask = () => Promise<void>;
export type AsyncTask<T = any> = () => Promise<T>;

@@ -26,3 +26,3 @@ export default class TaskQueue extends EventEmitter {

enqueue(task: Task | AsyncTask, toFirst?: boolean): Promise<void>;
enqueue<T>(task: Task | AsyncTask<T>, toFirst?: boolean): Promise<T>;

@@ -29,0 +29,0 @@ }

{
"name": "putil-taskqueue",
"description": "Very simple async task queue for Javascript",
"version": "2.5.0",
"version": "2.5.1",
"author": "Panates Ltd.",

@@ -6,0 +6,0 @@ "contributors": [

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc