Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PromiseLike<T>

Type parameters

  • T

Hierarchy

  • PromiseLike

Implemented by

Index

Methods

error

reject

resolve

state

then

  • then(successCallback?: function, rejectCallback?: function): PromiseLike<T>
  • Parameters

    • Optional successCallback: function
        • (value?: T): any
        • Parameters

          • Optional value: T

          Returns any

    • Optional rejectCallback: function
        • (value?: T): any
        • Parameters

          • Optional value: T

          Returns any

    Returns PromiseLike<T>