fix(core): update
This commit is contained in:
@@ -24,7 +24,7 @@ export class Observablemap {
|
||||
* In case event has been registered before the same observable is returned.
|
||||
*/
|
||||
public getObservableForEmitterEvent<T>(emitterArg: IEventEmitter<T>, eventArg: string) {
|
||||
const existingBundle = this.observableEmitterBundleObjectmap.find((bundleArg) => {
|
||||
const existingBundle = this.observableEmitterBundleObjectmap.findSync((bundleArg) => {
|
||||
return bundleArg.emitter === emitterArg && bundleArg.event === eventArg;
|
||||
});
|
||||
if (existingBundle) {
|
||||
|
||||
Reference in New Issue
Block a user