dpromise ~master (2021-10-16T22:13:41.1161589)
Dub
Repo
Promise.then
dpromise
promise
Promise
Undocumented in source. Be warned that the author may not have intended to support it.
Promise
!
void
then
(void delegate() onFulfillment, void delegate(Exception) onRejection)
class
Promise
(T)
override nothrow
Promise
!void
then
(
void
delegate
(
)
onFulfillment
,
void
delegate
(
Exception
)
onRejection
)
if
(
!
is
(
Unqual
!
T
:
Exception
) &&
!
is
(
Unqual
!
T
:
Promise
!
K
,
K
)
)
Promise
!(
Flatten
!
S
)
then
(S delegate(T) onFulfillment, U delegate(Exception) onRejection)
Promise
!(
Flatten
!
S
)
then
(S delegate() onFulfillment, U delegate(Exception) onRejection)
Meta
Source
See Implementation
dpromise
promise
Promise
constructors
this
functions
fail
then
properties
exception
isFulfilled
isPending
isRejected
value
variables
_isPending
_value
next