Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
when.d
When
Promise
Interface Promise
Index
Methods
catch
ensure
inspect
otherwise
then
Methods
public
catch
(
onRejected
?:
(reason: any) => When.Promise<U>
)
:
Promise
Parameters
onRejected?:
(reason: any) => When.Promise<U>
optional
Returns
Promise
public
catch
(
onRejected
?:
(reason: any) => U
)
:
Promise
Parameters
onRejected?:
(reason: any) => U
optional
Returns
Promise
public
ensure
(
onFulfilledOrRejected
:
Function
)
:
Promise
Parameters
onFulfilledOrRejected:
Function
Returns
Promise
public
inspect
(
)
:
Snapshot
Returns
Snapshot
public
otherwise
(
onRejected
?:
(reason: any) => When.Promise<U>
)
:
Promise
Parameters
onRejected?:
(reason: any) => When.Promise<U>
optional
Returns
Promise
public
otherwise
(
onRejected
?:
(reason: any) => U
)
:
Promise
Parameters
onRejected?:
(reason: any) => U
optional
Returns
Promise
public
then
(
onFulfilled
:
(value: T) => When.Promise<U>
, onRejected
?:
(reason: any) => When.Promise<U>
, onProgress
?:
(update: any) => void
)
:
Promise
Parameters
onFulfilled:
(value: T) => When.Promise<U>
onRejected?:
(reason: any) => When.Promise<U>
optional
onProgress?:
(update: any) => void
optional
Returns
Promise
public
then
(
onFulfilled
:
(value: T) => When.Promise<U>
, onRejected
?:
(reason: any) => U
, onProgress
?:
(update: any) => void
)
:
Promise
Parameters
onFulfilled:
(value: T) => When.Promise<U>
onRejected?:
(reason: any) => U
optional
onProgress?:
(update: any) => void
optional
Returns
Promise
public
then
(
onFulfilled
:
(value: T) => U
, onRejected
?:
(reason: any) => When.Promise<U>
, onProgress
?:
(update: any) => void
)
:
Promise
Parameters
onFulfilled:
(value: T) => U
onRejected?:
(reason: any) => When.Promise<U>
optional
onProgress?:
(update: any) => void
optional
Returns
Promise
public
then
(
onFulfilled
:
(value: T) => U
, onRejected
?:
(reason: any) => U
, onProgress
?:
(update: any) => void
)
:
Promise
Parameters
onFulfilled:
(value: T) => U
onRejected?:
(reason: any) => U
optional
onProgress?:
(update: any) => void
optional
Returns
Promise
Globals
when.d
when.d.When
Deferred
Promise
catch
ensure
inspect
otherwise
then
Snapshot
all
defer
join
resolve