PromiseExecutor<T>: ((resolve, reject) => void)

Type Parameters

  • T

Type declaration

    • (resolve, reject): void
    • Parameters

      • resolve: ((value) => void)
          • (value): void
          • Parameters

            • value: T | PromiseLike<T>

            Returns void

      • reject: ((reason?) => void)
          • (reason?): void
          • Parameters

            • Optional reason: any

            Returns void

      Returns void