fix(core): update
This commit is contained in:
parent
42f40449ad
commit
97f8327fe9
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartpromise',
|
||||
version: '3.1.8',
|
||||
version: '3.1.9',
|
||||
description: 'simple promises and Deferred constructs'
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { defer } from './smartpromise.classes.deferred.js';
|
||||
|
||||
export * from './smartpromise.classes.commulativepromise.js';
|
||||
export * from './smartpromise.classes.cumulativedeferred.js';
|
||||
export * from './smartpromise.classes.deferred.js';
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { defer } from "./smartpromise.classes.deferred.js";
|
||||
|
||||
export class ComulativeDeferred {
|
||||
export class CumulativeDeferred {
|
||||
private accumulatedPromises: Promise<any>[] = [];
|
||||
private deferred = defer();
|
||||
public promise = this.deferred.promise;
|
||||
@ -21,6 +21,6 @@ export class ComulativeDeferred {
|
||||
}
|
||||
|
||||
|
||||
export const commulativeDefer = () => {
|
||||
return new ComulativeDeferred();
|
||||
export const cumulativeDefer = () => {
|
||||
return new CumulativeDeferred();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user