Interface IPromise

Promise A+

Index

Methods

Methods

public then(onFulfilled: (value: T) => Rx.IPromise<R>, onRejected: (reason: any) => Rx.IPromise<R>): IPromise

Parameters

  • onFulfilled: (value: T) => Rx.IPromise<R>
  • onRejected: (reason: any) => Rx.IPromise<R>

Returns

IPromise

public then(onFulfilled: (value: T) => Rx.IPromise<R>, onRejected?: (reason: any) => R): IPromise

Parameters

  • onFulfilled: (value: T) => Rx.IPromise<R>
  • onRejected?: (reason: any) => R optional

Returns

IPromise

public then(onFulfilled: (value: T) => R, onRejected: (reason: any) => Rx.IPromise<R>): IPromise

Parameters

  • onFulfilled: (value: T) => R
  • onRejected: (reason: any) => Rx.IPromise<R>

Returns

IPromise

public then(onFulfilled?: (value: T) => R, onRejected?: (reason: any) => R): IPromise

Parameters

  • onFulfilled?: (value: T) => R optional
  • onRejected?: (reason: any) => R optional

Returns

IPromise