code: function () {                                                                             // 1299
      var self = this;                                                                                              // 1300
      if (self._bufferedWritesFlushHandle) {                                                                        // 1301
        clearTimeout(self._bufferedWritesFlushHandle);                                                              // 1302
        self._bufferedWritesFlushHandle = null;                                                                     // 1303
      }                                                                                                             // 1304
                                                                                                                    // 1305
      self._bufferedWritesFlushAt = null;                                                                           // 1306
      // We need to clear the buffer before passing it to                                                           // 1307
      //  performWrites. As there's no guarantee that it                                                            // 1308
      //  will exit cleanly.                                                                                        // 1309
      var writes = self._bufferedWrites;                                                                            // 1310
      self._bufferedWrites = {};                                                                                    // 1311
      self._performWrites(writes);                                                                                  // 1312
    }
docs: 1297 1298