fix(core): update
This commit is contained in:
		| @@ -49,6 +49,11 @@ export class DomTools { | ||||
|  | ||||
|   private runOnceTrackerStringMap = new Stringmap(); | ||||
|   private runOnceResultMap = new FastMap(); | ||||
|   /** | ||||
|    * run a function once and always get the Promise of the first execution | ||||
|    * @param identifierArg | ||||
|    * @param funcArg | ||||
|    */ | ||||
|   public async runOnce<T>(identifierArg: string, funcArg: () => Promise<T>) { | ||||
|     const runningId = `${identifierArg}+runningCheck`; | ||||
|     if(!this.runOnceTrackerStringMap.checkString(identifierArg)) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user