MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / successSteps

Function successSteps

out/cli.cjs:52407–52413  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

52405 async function specConsumeBody(object, convertBytesToJSValue, instance) {
52406 webidl.brandCheck(object, instance);
52407 throwIfAborted(object[kState]);
52408 if (bodyUnusable(object[kState].body)) {
52409 throw new TypeError("Body is unusable");
52410 }
52411 const promise = createDeferredPromise();
52412 const errorSteps = (error) => promise.reject(error);
52413 const successSteps = (data) => {
52414 try {
52415 promise.resolve(convertBytesToJSValue(data));
52416 } catch (e3) {

Callers 2

fullyReadBodyFunction · 0.85
specConsumeBodyFunction · 0.85

Calls 1

errorStepsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…