Compare commits
2 Commits
d0a65f7f4f
...
11a3b00c12
Author | SHA1 | Date | |
---|---|---|---|
|
11a3b00c12 | ||
|
9eef107d56 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hibas123/utils",
|
"name": "@hibas123/utils",
|
||||||
"version": "2.0.2",
|
"version": "2.0.5",
|
||||||
"description": "Different Utilities, that are not worth own packages",
|
"description": "Different Utilities, that are not worth own packages",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
@ -19,6 +19,7 @@
|
|||||||
"typescript": "^3.3.3333"
|
"typescript": "^3.3.3333"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
"src/",
|
||||||
"lib/",
|
"lib/",
|
||||||
"tsconfig.json",
|
"tsconfig.json",
|
||||||
"readme.md"
|
"readme.md"
|
||||||
|
@ -69,6 +69,7 @@ export default class Observable<T = any> {
|
|||||||
this.subscriberCollect.forEach(cb => {
|
this.subscriberCollect.forEach(cb => {
|
||||||
cb(this.events)
|
cb(this.events)
|
||||||
});
|
});
|
||||||
|
this.events = [];
|
||||||
this.timeout = undefined;
|
this.timeout = undefined;
|
||||||
}, this.collect_intervall);
|
}, this.collect_intervall);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user