MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / constructor

Method constructor

vitest.setup.ts:108–113  ·  view source on GitHub ↗
(type: string, eventInitDict: ProgressEventInit = {})

Source from the content-addressed store, hash-verified

106 readonly total: number;
107
108 constructor(type: string, eventInitDict: ProgressEventInit = {}) {
109 super(type, eventInitDict);
110 this.lengthComputable = eventInitDict.lengthComputable ?? false;
111 this.loaded = eventInitDict.loaded ?? 0;
112 this.total = eventInitDict.total ?? 0;
113 }
114}
115
116// The interceptor only needs `XMLHttpRequestUpload` as an `instanceof`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected