fun flush(callback: (@R|kotlin/ParameterName|(name = String(err)) ERROR CLASS: Symbol not found for js.errors.JsError??) -> Unit)(source) Writes the current buffer to the file if a write was not in progress. Do nothing if minLength is zero or if it is already writing.