Issues a fetch request in the same way as fetchOk, and returns the result of the promise
returned by transformResponse.
Additionally, the request may be cancelled through cancellationToken.
The transformResponse function should not do anything with the Response object after its
result becomes ready; otherwise, cancellation may not work as expected.
Issues a
fetch
request in the same way asfetchOk
, and returns the result of the promise returned bytransformResponse
.Additionally, the request may be cancelled through
cancellationToken
.The
transformResponse
function should not do anything with theResponse
object after its result becomes ready; otherwise, cancellation may not work as expected.