fix(core): update

This commit is contained in:
2020-11-24 18:47:45 +00:00
parent ccd5b80d67
commit 8f18faaf1c
11 changed files with 1789 additions and 1522 deletions

View File

@ -57,6 +57,8 @@ export class ObjectMap<T> {
const object = this.getMappedUnique(uniqueKey);
}
public addSubject = new plugins.smartrx.rxjs.Subject<T>();
/**
* add object to Objectmap
* returns false if the object is already in the map
@ -74,6 +76,7 @@ export class ObjectMap<T> {
// otherwise lets create it
const uniqueKey = uni('key');
this.addMappedUnique(uniqueKey, objectArg);
this.addSubject.next(objectArg);
return uniqueKey;
}