Skip to content

HookListener

@tsed/hooks

Usage

typescript
import { HookListener } from "@tsed/hooks/src/Hooks";

See /packages/hooks/src/Hooks.ts.

Overview

ts
type HookListener = Function;

Description

A function that handles hook events.

Hook listeners are invoked when their associated event is emitted or altered, receiving the event arguments as parameters.

Released under the MIT License.