onSuccess

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

Perform an action if the result was successful.

Return

The original result.

Parameters

block

The action to perform if the result was successful.