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

Method constructor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected