Package software.amazon.awssdk.crt
Interface AsyncCallback
public interface AsyncCallback
Async io completion abstraction used by the native mqtt layer. We moved to using futures directly but
that might have been a mistake and we should consider moving back to this for our other async
operations that cross the managed/native boundary
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidstatic <T> AsyncCallbackwrapFuture(CompletableFuture<T> future, T value)
-
Method Details
-
wrapFuture
-
onSuccess
void onSuccess() -
onSuccess
-
onFailure
-