Comparing version 2.2.2 to 2.2.3
import { HTTPOptions } from 'aws-sdk'; | ||
/** | ||
* FIXME: We should remove the default T = any and require for task | ||
* creation to avoid payload? | ||
* FIXME: for callbacks that don't take an argument, need to specify | ||
* T = void to make the parameter optional | ||
*/ | ||
export declare type Callback<T = any, R = Promise<any>> = (payload?: T) => R; | ||
export declare type Callback<T = any, R = Promise<any>> = (payload: T) => R; | ||
export declare type getPayload = (msg: any, topic: string) => { | ||
@@ -8,0 +8,0 @@ timestamp: number; |
{ | ||
"name": "steveo", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "A Task Pub/Sub Background processing library", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
70512