Package org.ores.async
Interface NeoQueue.IAsyncErrFirstCb<T>
- All Known Implementing Classes:
NeoQueue.AsyncCallback
public static interface NeoQueue.IAsyncErrFirstCb<T>
Error-first continuation used by
NeoQueue.ITaskHandler. Like
Asyncc.IAsyncCallback but with Object as the error type because the
pre-existing public API of NeoQueue pre-dates the typed-error parameter.
The conventional parameter name in user code is c, short for continuation.
- Since:
- 0.2.4 (
success/faildefaults added)
-
Method Summary
-
Method Details
-
done
Canonical error-first call: pass(null, value)on success or(err, null)on failure. -
success
Shorthand fordone(null, v). -
fail
Shorthand fordone(e, null).
-