IValueCallback

fun interface IValueCallback<T>

Callback interface for asynchronous operations that return a value of type T.

Inheritors

Functions

Link copied to clipboard
open fun onError()

Called when the requested value is not available or encountered an error when returning.

Link copied to clipboard
abstract fun onSuccess(value: T)

Called with the appropriate return value on a successful operation.