hunt-extra ~master (2022-03-03T03:00:29Z)
Home
Dub
Repo
DefaultPromise
hunt
concurrency
Promise
<p>Empty implementation of {@link Promise}.</p>
@param (T) the type of the result
class
DefaultPromise : Promise!T(
T
) {
static if
(
is(T == void)
)
bool
succeeded
();
static if
(!(
is(T == void)
))
bool
succeeded
(T result);
bool
failed
(Throwable x);
}
Members
Functions
failed
bool
failed
(Throwable x)
Undocumented in source. Be warned that the author may not have intended to support it.
succeeded
bool
succeeded
(T result)
Undocumented in source. Be warned that the author may not have intended to support it.
succeeded
bool
succeeded
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
hunt
concurrency
Promise
classes
DefaultPromise
interfaces
Promise
<p>Empty implementation of {@link Promise}.</p>
@param (T) the type of the result