Function

await-response

Waits until the request is completed, and then returns the resulting response and body.

await-response: func(pending: pending-response) -> result​<response-with-body, error-with-detail>;