onSuccess

open fun onSuccess(block: (List<T>) -> Unit): AutocompleteResult<T>

Perform an action if the result was successful.

Return

The original result.

Parameters

block

The action to perform if the result was successful.