-
- All Known Implementing Classes:
Sync
public interface Cont<T>Continuation of an asynchronous operation. Thebind(T)method gets called when the asynchronous operation completes with a value; thetrap(Throwable)method gets called when the asynchronous operation fails with an exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbind(T value)Invoked when the asynchronous operation completes with avalue.voidtrap(Throwable error)Invoked when the asynchronous operation fails with anerror.
-