Options
All
  • Public
  • Public/Protected
  • All
Menu

Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

Hierarchy

  • Callbackify

Callable

  • __call(fn: function): function
  • __call<TResult>(fn: function): function
  • __call<T1, TResult>(fn: function): function
  • __call<T1, T2>(fn: function): function
  • __call<T1, T2, TResult>(fn: function): function
  • __call<T1, T2, T3>(fn: function): function
  • __call<T1, T2, T3, TResult>(fn: function): function
  • __call<T1, T2, T3, T4>(fn: function): function
  • __call<T1, T2, T3, T4, TResult>(fn: function): function
  • __call<T1, T2, T3, T4, T5>(fn: function): function
  • __call<T1, T2, T3, T4, T5, TResult>(fn: function): function
  • __call<T1, T2, T3, T4, T5, T6>(fn: function): function
  • __call<T1, T2, T3, T4, T5, T6, TResult>(fn: function): function
  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Parameters

    • fn: function
        • (): Promise<void>
        • Returns Promise<void>

    Returns function

      • (callback: function): void
  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Type parameters

    • TResult

    Parameters

    • fn: function
        • (): Promise<TResult>
        • Returns Promise<TResult>

    Returns function

      • (callback: function): void
      • Parameters

        Returns void

  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Type parameters

    • T1

    • TResult

    Parameters

    • fn: function
        • (arg1: T1): Promise<TResult>
        • Parameters

          • arg1: T1

          Returns Promise<TResult>

    Returns function

      • (arg1: T1, callback: function): void
      • Parameters

        Returns void

  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Type parameters

    • T1

    • T2

    Parameters

    • fn: function
        • (arg1: T1, arg2: T2): Promise<void>
        • Parameters

          • arg1: T1
          • arg2: T2

          Returns Promise<void>

    Returns function

      • (arg1: T1, arg2: T2, callback: function): void
  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Type parameters

    • T1

    • T2

    • TResult

    Parameters

    • fn: function
        • (arg1: T1, arg2: T2): Promise<TResult>
        • Parameters

          • arg1: T1
          • arg2: T2

          Returns Promise<TResult>

    Returns function

      • (arg1: T1, arg2: T2, callback: function): void
      • Parameters

        • arg1: T1
        • arg2: T2
        • callback: function

        Returns void

  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Type parameters

    • T1

    • T2

    • T3

    Parameters

    • fn: function
        • (arg1: T1, arg2: T2, arg3: T3): Promise<void>
        • Parameters

          • arg1: T1
          • arg2: T2
          • arg3: T3

          Returns Promise<void>

    Returns function

      • (arg1: T1, arg2: T2, arg3: T3, callback: function): void
      • Parameters

        Returns void

  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Type parameters

    • T1

    • T2

    • T3

    • TResult

    Parameters

    • fn: function
        • (arg1: T1, arg2: T2, arg3: T3): Promise<TResult>
        • Parameters

          • arg1: T1
          • arg2: T2
          • arg3: T3

          Returns Promise<TResult>

    Returns function

      • (arg1: T1, arg2: T2, arg3: T3, callback: function): void
      • Parameters

        • arg1: T1
        • arg2: T2
        • arg3: T3
        • callback: function

        Returns void

  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Type parameters

    • T1

    • T2

    • T3

    • T4

    Parameters

    • fn: function
        • (arg1: T1, arg2: T2, arg3: T3, arg4: T4): Promise<void>
        • Parameters

          • arg1: T1
          • arg2: T2
          • arg3: T3
          • arg4: T4

          Returns Promise<void>

    Returns function

      • (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: function): void
      • Parameters

        Returns void

  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Type parameters

    • T1

    • T2

    • T3

    • T4

    • TResult

    Parameters

    • fn: function
        • (arg1: T1, arg2: T2, arg3: T3, arg4: T4): Promise<TResult>
        • Parameters

          • arg1: T1
          • arg2: T2
          • arg3: T3
          • arg4: T4

          Returns Promise<TResult>

    Returns function

      • (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: function): void
      • Parameters

        • arg1: T1
        • arg2: T2
        • arg3: T3
        • arg4: T4
        • callback: function

        Returns void

  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Type parameters

    • T1

    • T2

    • T3

    • T4

    • T5

    Parameters

    • fn: function
        • (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5): Promise<void>
        • Parameters

          • arg1: T1
          • arg2: T2
          • arg3: T3
          • arg4: T4
          • arg5: T5

          Returns Promise<void>

    Returns function

      • (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: function): void
      • Parameters

        Returns void

  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Type parameters

    • T1

    • T2

    • T3

    • T4

    • T5

    • TResult

    Parameters

    • fn: function
        • (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5): Promise<TResult>
        • Parameters

          • arg1: T1
          • arg2: T2
          • arg3: T3
          • arg4: T4
          • arg5: T5

          Returns Promise<TResult>

    Returns function

      • (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: function): void
      • Parameters

        • arg1: T1
        • arg2: T2
        • arg3: T3
        • arg4: T4
        • arg5: T5
        • callback: function

        Returns void

  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Type parameters

    • T1

    • T2

    • T3

    • T4

    • T5

    • T6

    Parameters

    • fn: function
        • (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6): Promise<void>
        • Parameters

          • arg1: T1
          • arg2: T2
          • arg3: T3
          • arg4: T4
          • arg5: T5
          • arg6: T6

          Returns Promise<void>

    Returns function

      • (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: function): void
      • Parameters

        • arg1: T1
        • arg2: T2
        • arg3: T3
        • arg4: T4
        • arg5: T5
        • arg6: T6
        • callback: function

        Returns void

  • Instead of depending on the util.callbackify type in the @types/node package, we're copying the type defintion of that function into an interface here. This needs to be manually updated if the type definition in that package changes.

    Type parameters

    • T1

    • T2

    • T3

    • T4

    • T5

    • T6

    • TResult

    Parameters

    • fn: function
        • (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6): Promise<TResult>
        • Parameters

          • arg1: T1
          • arg2: T2
          • arg3: T3
          • arg4: T4
          • arg5: T5
          • arg6: T6

          Returns Promise<TResult>

    Returns function

      • (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: function): void
      • Parameters

        • arg1: T1
        • arg2: T2
        • arg3: T3
        • arg4: T4
        • arg5: T5
        • arg6: T6
        • callback: function

        Returns void

Generated using TypeDoc