@elastic.io/batching-library
Advanced tools
Comparing version 0.0.1-dev.15 to 0.0.1-dev.16
@@ -33,3 +33,3 @@ import { AbstractStore } from './storage/IStore'; | ||
/** | ||
* Atomic Get 'READY' batches and locks them (set status tu 'LOCKED') | ||
* Atomic Get 'READY' batches and locks them (set status to 'LOCKED') | ||
*/ | ||
@@ -56,3 +56,3 @@ public async getReadyBatches(): Promise<Batch[]> { | ||
* Ensures that item can be added to batch. If cant add to existing create new batch. | ||
* Check batches after insett new item | ||
* Check batches after insert new item | ||
* @param item batch item | ||
@@ -59,0 +59,0 @@ * @return Batch with saved item. |
@@ -117,5 +117,5 @@ import { Batch, BatchConfig, BatchItem, BatchStatus, Pair } from '../entity/dto'; | ||
/** | ||
* @async update batches status by batch Configuration. | ||
* @async update batches status by batch Configuration to READY. | ||
* | ||
* @param batchConfig of batch Configuration. | ||
* @param batchConfig batch Configuration. | ||
* @return number(count) of updated objects. | ||
@@ -122,0 +122,0 @@ */ |
{ | ||
"name": "@elastic.io/batching-library", | ||
"version": "0.0.1-dev.15", | ||
"version": "0.0.1-dev.16", | ||
"description": "Library for batching implementation on elastic.io", | ||
@@ -21,4 +21,4 @@ "homepage": "https://github.com/elasticio/batching-library#readme", | ||
"posttest": "npm run tsc", | ||
"test": "mocha --exit --require ts-node/register test/spec/**/*.ts", | ||
"integration-test": "mocha --exit --require ts-node/register test/spec-integration/**/*.ts" | ||
"test": "mocha --exit --require ts-node/register test/spec/**/*.ts --timeout 50000", | ||
"integration-test": "mocha --exit --require ts-node/register test/spec-integration/**/*.ts --timeout 50000" | ||
}, | ||
@@ -25,0 +25,0 @@ "keywords": [ |
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
169148