core.medplumclient.startasyncrequest | Medplum

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 MedplumRequestOptions (Optional) Optional fetch options.

Returns:

Promise

The response body.