Revert "Do ModelView initialization actions before others (#11512)" (#11677)

This reverts commit 9bdd5f2899b36a44bca4add1f05164cf1489929b.
This commit is contained in:
Charles Gagnon
2020-08-06 08:47:33 -07:00
committed by GitHub
parent 9c67832880
commit 9bdfa57be6
3 changed files with 24 additions and 32 deletions

View File

@@ -67,9 +67,8 @@ export interface IModelStore {
*
* @param componentId unique identifier of the component
* @param action some action to perform
* @param isInitialization whether this is an initialization action that will run before other actions
*/
eventuallyRunOnComponent<T>(componentId: string, action: (component: IComponent) => T, isInitialization?: boolean): Promise<T>;
eventuallyRunOnComponent<T>(componentId: string, action: (component: IComponent) => T): Promise<T>;
/**
* Register a callback that will validate components when given a component ID
*/