Interface IPromise

Hierarchy

Index

Methods

Methods

public catch(onRejected: (reason: any) => ng.IHttpPromise<TResult>): IPromise

Parameters

  • onRejected: (reason: any) => ng.IHttpPromise<TResult>

Returns

IPromise

public catch(onRejected: (reason: any) => ng.IPromise<TResult>): IPromise

Parameters

  • onRejected: (reason: any) => ng.IPromise<TResult>

Returns

IPromise

public catch(onRejected: (reason: any) => TResult): IPromise

Parameters

  • onRejected: (reason: any) => TResult

Returns

IPromise

public finally(finallyCallback: () => any): IPromise

Parameters

  • finallyCallback: () => any

Returns

IPromise

public then(successCallback: (promiseValue: T) => ng.IHttpPromise<TResult>, errorCallback?: (reason: any) => any, notifyCallback?: (state: any) => any): IPromise

Parameters

  • successCallback: (promiseValue: T) => ng.IHttpPromise<TResult>
  • errorCallback?: (reason: any) => any optional
  • notifyCallback?: (state: any) => any optional

Returns

IPromise

public then(successCallback: (promiseValue: T) => ng.IPromise<TResult>, errorCallback?: (reason: any) => any, notifyCallback?: (state: any) => any): IPromise

Parameters

  • successCallback: (promiseValue: T) => ng.IPromise<TResult>
  • errorCallback?: (reason: any) => any optional
  • notifyCallback?: (state: any) => any optional

Returns

IPromise

public then(successCallback: (promiseValue: T) => TResult, errorCallback?: (reason: any) => TResult, notifyCallback?: (state: any) => any): IPromise

Parameters

  • successCallback: (promiseValue: T) => TResult
  • errorCallback?: (reason: any) => TResult optional
  • notifyCallback?: (state: any) => any optional

Returns

IPromise