Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PromiseExecutor

Interface representing a promise executor used in a promise.

Hierarchy

  • PromiseExecutor

Index

Properties

Properties

reject

reject: (error: any) => void

Type declaration

    • (error: any): void
    • Parameters

      • error: any

      Returns void

resolve

resolve: (value: any) => void

Type declaration

    • (value: any): void
    • Parameters

      • value: any

      Returns void