Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

Index

Constructors

Properties

name: undefined | string
taps: FullTap[]

Methods

  • Parameters

    Returns void

  • isUsed(): boolean
  • Returns boolean

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

    Returns Promise<R>

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

    Returns void

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

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

          Returns Promise<R>

    Returns void

  • withOptions(options: TapOptions & IfSet<AdditionalOptions>): Omit<AsyncHook<T, R, AdditionalOptions>, "promise" | "call" | "callAsync">
  • Parameters

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