Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

  • AsyncHook<T, void, AdditionalOptions>
    • AsyncParallelHook

Index

Constructors

Properties

name: undefined | string
taps: FullTap[]

Methods

  • isUsed(): boolean
  • Returns boolean

  • promise(...args: AsArray<T>): Promise<void>
  • Parameters

    Returns Promise<void>

  • tap(options: string | (TapOptions & { name: string } & IfSet<AdditionalOptions>), fn: (...args: AsArray<T>) => void): void
  • Parameters

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

          Returns void

    Returns void

  • tapPromise(options: string | (TapOptions & { name: string } & IfSet<AdditionalOptions>), fn: (...args: AsArray<T>) => Promise<void>): void
  • Parameters

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

          Returns Promise<void>

    Returns void