WritableMock write its data ton an internal, public accessible buffer. When finished, the data are flatten and accessible through flatData property.
Please use BufferWritableMock or ObjectWritableMock to get a better type accuracy.
Writable stream options.
Internal buffer, filled on every write
Data flattern, filled on final callback (when WritableMock.end) is called.
Event emitter The defined events on documents including:
since v4.0.0
Generated using TypeDoc
WritableMock write its data ton an internal, public accessible buffer. When finished, the data are flatten and accessible through flatData property.
Please use BufferWritableMock or ObjectWritableMock to get a better type accuracy.