Type alias Callback<T>

Callback<T>: ((...args) => Promise<void> | void)

Type Parameters

  • T extends any[]

Type declaration

    • (...args): Promise<void> | void
    • Parameters

      • Rest ...args: T

      Returns Promise<void> | void

Generated using TypeDoc