haystack-nclient
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -50,2 +50,25 @@ import { HRef, HDict } from 'haystack-core'; | ||
/** | ||
* Invoke a batch operation. | ||
* | ||
* @param op The name of the op. | ||
* @param ids The ids used in the batch operation. | ||
*/ | ||
private batchInvoke; | ||
/** | ||
* Queue the batch operation to be invoked. | ||
* | ||
* @param op The name of the op. | ||
* @param ids The ids used in the batch operation. | ||
* @param deferred The deferred promise for this asynchronous operation. | ||
*/ | ||
private queueBatchOp; | ||
/** | ||
* Clear the existing batch timer. | ||
*/ | ||
private clearBatchTimer; | ||
/** | ||
* Start a new batch timer. | ||
*/ | ||
private startBatchTimer; | ||
/** | ||
* Register a callback for changed events. | ||
@@ -52,0 +75,0 @@ * |
@@ -5,5 +5,5 @@ /** | ||
export interface Deferred { | ||
promise?: Promise<void>; | ||
resolve?: () => void; | ||
reject?: (reason?: unknown) => void; | ||
promise: Promise<void>; | ||
resolve: () => void; | ||
reject: (reason?: unknown) => void; | ||
} | ||
@@ -10,0 +10,0 @@ /** |
@@ -13,3 +13,3 @@ { | ||
"homepage": "https://github.com/j2inn/haystack-nclient", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"module": "dist/index.es.js", | ||
@@ -16,0 +16,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
415383
34
11020