Places this write stream into an aborted state (all future writes fail) and deletes all chunks that have already been written.
Places this write stream into an aborted state (all future writes fail) and deletes all chunks that have already been written.
called when chunks are successfully removed or error occurred
a completion promise if the callback was not passed
A writable stream that enables you to write buffers to GridFS. Do not instantiate this class directly. Use openUploadStream() instead.