Function: abortSuspenseRequest()

Estimated reading time: less than 1 minute
function abortSuspenseRequest(rid, data): void

Releases Suspense state owned by a response that has closed before rendering finished.

Later promise settlements are ignored, and identity checks prevent an older response from deleting state belonging to a newer response with the same request ID.

Parameters

rid

string | number

The request ID associated with the response.

data

RequestData

The exact request state captured by the response integration.

Returns

void