core.medplumclient.wrappedfetch | Medplum

MedplumClient.wrappedFetch() method

Wraps fetch execution with token refresh and retry logic.

Signature:

wrappedFetch(url: string, options: RequestInit): Promise<Response>;

Parameters

Parameter Type Description
url string The URL to request
options RequestInit Optional fetch options

Returns:

Promise

The response