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

Function TransformState

static/word2md/mammoth.browser.js:25151–25161  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

25149util.inherits(Transform, Duplex);
25150
25151function TransformState(stream) {
25152 this.afterTransform = function (er, data) {
25153 return afterTransform(stream, er, data);
25154 };
25155
25156 this.needTransform = false;
25157 this.transforming = false;
25158 this.writecb = null;
25159 this.writechunk = null;
25160 this.writeencoding = null;
25161}
25162
25163function afterTransform(stream, er, data) {
25164 var ts = stream._transformState;

Callers

nothing calls this directly

Calls 1

afterTransformFunction · 0.70

Tested by

no test coverage detected