simple-async-tasks
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50464