Methods
Static
addHook
- addHook(hookName, handle): void
Returns void
Static
clearHooks
- clearHooks(hookName): void
Returns void
Static
removeHook
- removeHook(hookName, handle): void
Returns void
Static
runHook
- runHook(hookName, ...inputArgs): Promise<any[]>
Parameters
hookName: string
Rest
...inputArgs: any[]
Returns Promise<any[]>
Static
runHookSync
- runHookSync(hookName, ...inputArgs): any[]
Parameters
hookName: string
Rest
...inputArgs: any[]
Returns any[]
新增模块过程 hook