MCPcopy Create free account
hub / github.com/TruthHun/BookStack / onwriteError

Function onwriteError

static/word2md/mammoth.browser.js:25628–25634  ·  view source on GitHub ↗
(stream, state, sync, er, cb)

Source from the content-addressed store, hash-verified

25626}
25627
25628function onwriteError(stream, state, sync, er, cb) {
25629 --state.pendingcb;
25630 if (sync) processNextTick(cb, er);else cb(er);
25631
25632 stream._writableState.errorEmitted = true;
25633 stream.emit('error', er);
25634}
25635
25636function onwriteStateUpdate(state) {
25637 state.writing = false;

Callers 1

onwriteFunction · 0.70

Calls 1

cbFunction · 0.70

Tested by

no test coverage detected