onSuccess

inline fun <T> PasskeyResult<T>.onSuccess(action: (T) -> Unit): PasskeyResult<T>

Runs action with the value if this is a PasskeyResult.Success; returns this result unchanged.