Comunica
    • Type Parameters

      • T extends any[] | [any]

      Parameters

      • cases: readonly T[]

      Returns (name: string, fn: (...args: T) => any, timeout?: number) => void

    • Type Parameters

      • T extends readonly any[]

      Parameters

      • cases: readonly T[]

      Returns (
          name: string,
          fn: (...args: ExtractEachCallbackArgs<T>) => any,
          timeout?: number,
      ) => void

    • Type Parameters

      • T

      Parameters

      • cases: readonly T[]

      Returns (
          name: string,
          fn: (arg: T, done: DoneCallback) => any,
          timeout?: number,
      ) => void

    • Parameters

      • cases: readonly (readonly any[])[]

      Returns (name: string, fn: (...args: any[]) => any, timeout?: number) => void

    • Parameters

      • strings: TemplateStringsArray
      • ...placeholders: any[]

      Returns (
          name: string,
          fn: (arg: any, done: DoneCallback) => any,
          timeout?: number,
      ) => void

    MMNEPVFCICPMFPCPTTAAATR