Interface Thenable

Index

Methods

Methods

public then(onFulfilled: (value: R) => Highland.Thenable<U>, onRejected: (error: any) => Highland.Thenable<U>): Thenable

Parameters

  • onFulfilled: (value: R) => Highland.Thenable<U>
  • onRejected: (error: any) => Highland.Thenable<U>

Returns

Thenable

public then(onFulfilled: (value: R) => Highland.Thenable<U>, onRejected?: (error: any) => U): Thenable

Parameters

  • onFulfilled: (value: R) => Highland.Thenable<U>
  • onRejected?: (error: any) => U optional

Returns

Thenable

public then(onFulfilled: (value: R) => U, onRejected: (error: any) => Highland.Thenable<U>): Thenable

Parameters

  • onFulfilled: (value: R) => U
  • onRejected: (error: any) => Highland.Thenable<U>

Returns

Thenable

public then(onFulfilled?: (value: R) => U, onRejected?: (error: any) => U): Thenable

Parameters

  • onFulfilled?: (value: R) => U optional
  • onRejected?: (error: any) => U optional

Returns

Thenable