OnSuccess

fun interface OnSuccess<T> : Callback<T>

A functional interface representing a success callback that takes a result of type T.

Parameters

T

The type of the result.

Functions

Link copied to clipboard
abstract operator fun invoke(result: T)

Invokes the callback with the provided result.