Callback

A SAM interface for completing an asynchronous operation with either a Response (or) an Error

Functions

Link copied to clipboard
abstract fun complete(@Nullable value: R, @Nullable error: E)
Called back on Completion of an Asynchronous operation either normally or exceptionally.