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

Function needFinish

static/word2md/mammoth.browser.js:25773–25775  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

25771};
25772
25773function needFinish(state) {
25774 return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;
25775}
25776
25777function prefinish(stream, state) {
25778 if (!state.prefinished) {

Callers 2

onwriteFunction · 0.70
finishMaybeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected