}
runAction<T, U extends ClientActionHookName> (hookName: U, scope: PluginClientScope, params?: T) {
}
runAction<T, U extends ClientActionHookName> (hookName: U, scope: PluginClientScope, params?: T) {
.then(() => this.pluginService.runHook(hookName, undefined, params))
.catch((err: any) => logger.error('Fatal hook error.', err))
.then(() => this.pluginService.runHook(hookName, undefined, params))
.catch((err: any) => logger.error('Fatal hook error.', err))
}
async wrapObject<T, U extends ClientFilterHookName> (result: T, scope: PluginClientScope, hookName: U) {
}
async wrapObject<T, U extends ClientFilterHookName> (result: T, scope: PluginClientScope, hookName: U) {