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

Function endReadableNT

static/word2md/mammoth.browser.js:25073–25080  ·  view source on GitHub ↗
(state, stream)

Source from the content-addressed store, hash-verified

25071}
25072
25073function endReadableNT(state, stream) {
25074 // Check that we didn't get one last unshift.
25075 if (!state.endEmitted && state.length === 0) {
25076 state.endEmitted = true;
25077 stream.readable = false;
25078 stream.emit('end');
25079 }
25080}
25081
25082function forEach(xs, f) {
25083 for (var i = 0, l = xs.length; i < l; i++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected