public interface CompletionHandler<R,E extends Throwable>
Modifier and Type | Method and Description |
---|---|
void |
onCompletion(R result)
Invoked on sucessful completion of asynchronous processing
|
void |
onFailure(E exception)
Invoked when a failure occurs during asynchronous processing
|
void onCompletion(R result)
result
- the result of processingvoid onFailure(E exception)
exception
- the exception thrown during processingCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.