Class Thenable

Hierarchy

Index

Methods

Methods

public catch(onRejected: (error: Error) => T): Thenable

Parameters

  • onRejected: (error: Error) => T

Returns

Thenable

public then(onFulfilled: (value: T) => Thenable<TR>, onRejected?: (error: Error) => TR): Thenable

Parameters

  • onFulfilled: (value: T) => Thenable<TR>
  • onRejected?: (error: Error) => TR optional

Returns

Thenable

public then(onFulfilled: (value: T) => Thenable<TR>, onRejected?: (error: Error) => void): Thenable

Parameters

  • onFulfilled: (value: T) => Thenable<TR>
  • onRejected?: (error: Error) => void optional

Returns

Thenable

public then(onFulfilled: (value: T) => TR, onRejected?: (error: Error) => void): Thenable

Parameters

  • onFulfilled: (value: T) => TR
  • onRejected?: (error: Error) => void optional

Returns

Thenable

public then(onFulfilled: (value: T) => TR, onRejected?: (error: Error) => TR): Thenable

Parameters

  • onFulfilled: (value: T) => TR
  • onRejected?: (error: Error) => TR optional

Returns

Thenable