hunt-extra v1.1.8 (2021-12-13T08:45:08Z)
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)
)
void
succeeded
();
static if
(!(
is(T == void)
))
void
succeeded
(T result);
void
failed
(Exception x);
}
Members
Functions
failed
void
failed
(Exception x)
Undocumented in source. Be warned that the author may not have intended to support it.
succeeded
void
succeeded
(T result)
Undocumented in source. Be warned that the author may not have intended to support it.
succeeded
void
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