UNPKG

hins

Version:

[![codecov](https://codecov.io/gh/l-zoy/hins/branch/main/graph/badge.svg)](https://codecov.io/gh/l-zoy/hins) [![GitHub license](https://img.shields.io/github/license/l-zoy/hins)](https://github.com/l-zoy/hins/blob/master/LICENSE) ![node-current](https://i

17 lines (16 loc) 409 B
import { IAsyncHook } from './types'; export default class AsyncHook { /** * @desc subscribed hook object */ taps: IAsyncHook[]; /** * @desc hook execution function after serialization */ funcs: IAsyncHook['fn'][]; tap(options: IAsyncHook[]): void; tapCall(value: any): any; insert(options: IAsyncHook): void; create(): any; callTapsSeries(): string; }