hunt ~v1.1.x (2025-02-10T00:10:27.0144053)
Dub
Repo
Promise.Adapter
hunt
concurrency
Promise
Promise
<p>Empty implementation of {@link Promise}.</p>
@param (U) the type of the result
interface
Promise
(C)
class
Adapter : Promise!U(
U
) {
void
succeeded
(C result);
void
failed
(Throwable x);
}
Members
Functions
failed
void
failed
(Throwable x)
Undocumented in source. Be warned that the author may not have intended to support it.
succeeded
void
succeeded
(C result)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
hunt
concurrency
Promise
Promise
classes
Adapter
functions
failed
id
succeeded
<p>Empty implementation of {@link Promise}.</p>
@param (U) the type of the result