onSuccess

open fun onSuccess(data: T)

On success method, default to no-op.

Parameters

data

the data successfully returned from the async function