onSuccess

Execute a block if the result is successful.