MCPcopy
hub / github.com/pqina/filepond / createTimeoutResponse

Function createTimeoutResponse

src/js/utils/createDefaultResponse.js:3–12  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

1import { createResponse } from './createResponse';
2
3export const createTimeoutResponse = (cb) => (xhr) => {
4 cb(
5 createResponse(
6 'error',
7 0,
8 'Timeout',
9 xhr.getAllResponseHeaders()
10 )
11 )
12}

Callers 7

requestTransferIdFunction · 0.90
requestTransferOffsetFunction · 0.90
processChunkFunction · 0.90
fetchBlobFunction · 0.90
createFetchFunctionFunction · 0.90
createRevertFunctionFunction · 0.90

Calls 2

createResponseFunction · 0.90
cbFunction · 0.85

Tested by

no test coverage detected