results()
Returns the results of a preceding action request.
Declaration
final func results() async throws -> ExecutionStatusReturn Value
A structure that contains the vehicle-specific status code from the vehicle.
Discussion
After you call your session’s perform(_:) method to send an action request to a vehicle, call this method to await the results of that request. Upon the successful completion of the request, this method returns the vehicle-provided status code. If an error occurs, this method throws the error instead.