public class Callbacks
extends org.rapidoid.RapidoidThing
| Constructor and Description |
|---|
Callbacks() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Callback<T> |
countDown(CountDownLatch latch) |
static <T> void |
done(Callback<T> callback,
T result,
Throwable error) |
static <T> void |
error(Callback<T> callback,
Throwable error) |
static <FROM,TO> Callback<FROM> |
mapping(Callback<TO> callback,
Mapper<FROM,TO> mapper) |
static <T> void |
success(Callback<T> callback,
T result) |
Copyright © 2014–2016 Nikolche Mihajlovski and contributors. All rights reserved.