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

simple-async-tasks

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-async-tasks - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

6

dist/logic/withAsyncTaskExecutionLifecycleEnqueue.d.ts

@@ -51,7 +51,7 @@ import type { LogMethods } from 'simple-leveled-log-methods';

*/
export declare const withAsyncTaskExecutionLifecycleEnqueue: <T extends AsyncTask, U extends Partial<T>, M extends Partial<T>, C extends AsyncTaskDaoContext>({ getNew, dao, log, queue, }: {
getNew: (input: U, context: C) => T | Promise<T>;
export declare const withAsyncTaskExecutionLifecycleEnqueue: <T extends AsyncTask, U extends Partial<T>, M extends Partial<T>, C extends AsyncTaskDaoContext, I extends U>({ getNew, dao, log, queue, }: {
getNew: (input: I, context: C) => T | Promise<T>;
dao: AsyncTaskDao<T, U, M, C>;
log: LogMethods;
queue: SimpleAsyncTaskSqsQueueContract | SimpleAsyncTaskAnyQueueContract<T>;
}) => (input: U, context: C) => Promise<HasMetadata<T, "id" | "uuid" | "createdAt" | "updatedAt" | "deletedAt" | "effectiveAt">>;
}) => (input: I, context: C) => Promise<HasMetadata<T, "id" | "uuid" | "createdAt" | "updatedAt" | "deletedAt" | "effectiveAt">>;

@@ -5,3 +5,3 @@ {

"description": "A simple in-memory queue, for nodejs and the browser, with consumers for common usecases.",
"version": "1.4.2",
"version": "1.4.3",
"repository": "ehmpathy/simple-async-tasks",

@@ -8,0 +8,0 @@ "homepage": "https://github.com/ehmpathy/simple-async-tasks",

Sorry, the diff of this file is not supported yet

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