Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Thenable<R>

Type parameters

  • R

Hierarchy

  • Thenable

Index

Methods

Methods

then

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

    • U

    Parameters

    • Optional onFulfilled: function
    • Optional onRejected: function

    Returns Thenable<U>

  • Type parameters

    • U

    Parameters

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

          • error: any

          Returns void

    Returns Thenable<U>