core.medplumclient.startasyncrequest
Home > @medplum/core > MedplumClient > startAsyncRequest
MedplumClient.startAsyncRequest() method
Starts an async request following the FHIR "Asynchronous Request Pattern".
See the FHIR "Asynchronous Request Pattern" for full details.
Signature:
startAsyncRequest<T>(url: string, options?: MedplumRequestOptions): Promise<T>;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| url | string | The URL to request. | 
| options | (Optional) Optional fetch options. | 
Returns:
Promise<T>
The response body.