Interface Thenable

Index

Methods

Methods

public then(onFulfill: (value: R) => PromisesAPlus.Thenable<U>, onReject: (error: any) => PromisesAPlus.Thenable<U>): Thenable

Parameters

  • onFulfill: (value: R) => PromisesAPlus.Thenable<U>
  • onReject: (error: any) => PromisesAPlus.Thenable<U>

Returns

Thenable

public then(onFulfill: (value: R) => PromisesAPlus.Thenable<U>, onReject?: (error: any) => U): Thenable

Parameters

  • onFulfill: (value: R) => PromisesAPlus.Thenable<U>
  • onReject?: (error: any) => U optional

Returns

Thenable

public then(onFulfill: (value: R) => U, onReject: (error: any) => PromisesAPlus.Thenable<U>): Thenable

Parameters

  • onFulfill: (value: R) => U
  • onReject: (error: any) => PromisesAPlus.Thenable<U>

Returns

Thenable

public then(onFulfill?: (value: R) => U, onReject?: (error: any) => U): Thenable

Parameters

  • onFulfill?: (value: R) => U optional
  • onReject?: (error: any) => U optional

Returns

Thenable