Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PromiseLike<T>

Type parameters

  • T

Hierarchy

  • PromiseLike

Index

Methods

Methods

then

  • then<U>(onFulfilled?: function, onRejected?: function): PromiseLike<U>
  • then<U>(onFulfilled?: function, onRejected?: function): PromiseLike<U>
  • then<U>(onFulfilled?: function, onRejected?: function): PromiseLike<U>
  • then<U>(onFulfilled?: function, onRejected?: function): PromiseLike<U>
  • then<U>(onFulfilled?: function, onRejected?: function): PromiseLike<U>
  • then<U>(onFulfilled?: function, onRejected?: function): PromiseLike<U>
  • Type parameters

    • U

    Parameters

    • Optional onFulfilled: function
        • (value: T): PromiseLike<U>
        • Parameters

          • value: T

          Returns PromiseLike<U>

    • Optional onRejected: function
        • (error: any): PromiseLike<U>
        • Parameters

          • error: any

          Returns PromiseLike<U>

    Returns PromiseLike<U>

  • Type parameters

    • U

    Parameters

    • Optional onFulfilled: function
        • (value: T): PromiseLike<U>
        • Parameters

          • value: T

          Returns PromiseLike<U>

    • Optional onRejected: function
        • (error: any): U
        • Parameters

          • error: any

          Returns U

    Returns PromiseLike<U>

  • Type parameters

    • U

    Parameters

    • Optional onFulfilled: function
        • (value: T): PromiseLike<U>
        • Parameters

          • value: T

          Returns PromiseLike<U>

    • Optional onRejected: function
        • (error: any): void
        • Parameters

          • error: any

          Returns void

    Returns PromiseLike<U>

  • Type parameters

    • U

    Parameters

    • Optional onFulfilled: function
        • (value: T): U
        • Parameters

          • value: T

          Returns U

    • Optional onRejected: function
        • (error: any): PromiseLike<U>
        • Parameters

          • error: any

          Returns PromiseLike<U>

    Returns PromiseLike<U>

  • Type parameters

    • U

    Parameters

    • Optional onFulfilled: function
        • (value: T): U
        • Parameters

          • value: T

          Returns U

    • Optional onRejected: function
        • (error: any): U
        • Parameters

          • error: any

          Returns U

    Returns PromiseLike<U>

  • Type parameters

    • U

    Parameters

    • Optional onFulfilled: function
        • (value: T): U
        • Parameters

          • value: T

          Returns U

    • Optional onRejected: function
        • (error: any): void
        • Parameters

          • error: any

          Returns void

    Returns PromiseLike<U>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method