@types/bull
Advanced tools
Comparing version 3.3.15 to 3.3.16
@@ -10,2 +10,3 @@ // Type definitions for bull 3.3 | ||
// David Koblas <https://github.com/koblas> | ||
// Bond Akinmade <https://github.com/bondz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -146,2 +147,17 @@ // TypeScript Version: 2.8 | ||
promote(): Promise<void>; | ||
/** | ||
* The lock id of the job | ||
*/ | ||
lockKey(): string; | ||
/** | ||
* Releases the lock on the job. Only locks owned by the queue instance can be released. | ||
*/ | ||
releaseLock(): Promise<void>; | ||
/** | ||
* Takes a lock for this job so that no other queue worker can process it at the same time. | ||
*/ | ||
takeLock(): Promise<number | false>; | ||
} | ||
@@ -148,0 +164,0 @@ |
{ | ||
"name": "@types/bull", | ||
"version": "3.3.15", | ||
"version": "3.3.16", | ||
"description": "TypeScript definitions for bull", | ||
@@ -41,2 +41,7 @@ "license": "MIT", | ||
"githubUsername": "koblas" | ||
}, | ||
{ | ||
"name": "Bond Akinmade", | ||
"url": "https://github.com/bondz", | ||
"githubUsername": "bondz" | ||
} | ||
@@ -54,4 +59,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "d479472813afe18fa0df427b94fe3e56279dba027970ea5675abc6e43bed5b88", | ||
"typesPublisherContentHash": "c2eae555bca8a41e43a0eac1bf4ff6e8564e8e2f43264931063981bd848e84c0", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 21 Jul 2018 02:05:50 GMT | ||
* Last updated: Mon, 23 Jul 2018 23:44:11 GMT | ||
* Dependencies: ioredis, bluebird | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Bruno Grieder <https://github.com/bgrieder>, Cameron Crothers <https://github.com/JProgrammer>, Marshall Cottrell <https://github.com/marshall007>, Weeco <https://github.com/weeco>, Gabriel Terwesten <https://github.com/blaugold>, Oleg Repin <https://github.com/iamolegga>, David Koblas <https://github.com/koblas>. | ||
These definitions were written by Bruno Grieder <https://github.com/bgrieder>, Cameron Crothers <https://github.com/JProgrammer>, Marshall Cottrell <https://github.com/marshall007>, Weeco <https://github.com/weeco>, Gabriel Terwesten <https://github.com/blaugold>, Oleg Repin <https://github.com/iamolegga>, David Koblas <https://github.com/koblas>, Bond Akinmade <https://github.com/bondz>. |
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
27677
571
192868