Package io.ably.lib.types
Interface Callback<T>
-
- All Known Implementing Classes:
Callback.Map,CompletionListener.ToCallback
public interface Callback<T>An interface allowing a client to be notified of the outcome of an asynchronous operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCallback.Map<T,U>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonError(ErrorInfo reason)Called when the associated operation completes with an error.voidonSuccess(T result)Called when the associated operation completes successfully,
-