Class AsyncHook<T, R, AdditionalOptions>

Type Parameters

Hierarchy

Constructors

Properties

name: undefined | string
taps: FullTap[]

Methods

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Returns boolean

  • Parameters

    Returns Promise<R>

  • Parameters

    • options: string | TapOptions & {
          name: string;
      } & IfSet<AdditionalOptions>
    • fn: ((...args) => R)
        • (...args): R
        • Parameters

          Returns R

    Returns void

  • Parameters

    • options: string | TapOptions & {
          name: string;
      } & IfSet<AdditionalOptions>
    • fn: ((...args) => void)

    Returns void

  • Parameters

    • options: string | TapOptions & {
          name: string;
      } & IfSet<AdditionalOptions>
    • fn: ((...args) => Promise<R>)
        • (...args): Promise<R>
        • Parameters

          Returns Promise<R>

    Returns void

  • Parameters

    Returns Omit<AsyncHook<T, R, AdditionalOptions>, "promise" | "call" | "callAsync">

Generated using TypeDoc