Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPromise<T>

Type parameters

  • T

Hierarchy

  • IPromise

Index

Methods

Methods

then

  • then<U>(onFulfill: function, onReject?: function): IPromise<U>
  • then<U>(onFulfill: function, onReject?: function): IPromise<U>
  • then<U>(onFulfill: function, onReject?: function): IPromise<U>
  • then<U>(onFulfill: function, onReject?: function): IPromise<U>
  • Type parameters

    • U

    Parameters

    • onFulfill: function
    • Optional onReject: function

    Returns IPromise<U>

  • Type parameters

    • U

    Parameters

    • onFulfill: function
    • Optional onReject: function
        • (reason: any): U
        • Parameters

          • reason: any

          Returns U

    Returns IPromise<U>

  • Type parameters

    • U

    Parameters

    • onFulfill: function
        • (value: T): U
        • Parameters

          • value: T

          Returns U

    • Optional onReject: function

    Returns IPromise<U>

  • Type parameters

    • U

    Parameters

    • onFulfill: function
        • (value: T): U
        • Parameters

          • value: T

          Returns U

    • Optional onReject: function
        • (reason: any): U
        • Parameters

          • reason: any

          Returns U

    Returns IPromise<U>