@nxtedition/rocksdb 10.0.11 → 10.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/binding.cc
CHANGED
|
@@ -1274,18 +1274,8 @@ NAPI_METHOD(iterator_seek) {
|
|
|
1274
1274
|
NapiSlice target;
|
|
1275
1275
|
NAPI_STATUS_THROWS(GetValue(env, argv[1], target));
|
|
1276
1276
|
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
runAsync<State>(
|
|
1280
|
-
std::string("leveldown.iterator.seek"), env, callback,
|
|
1281
|
-
[=](auto& state) {
|
|
1282
|
-
iterator->first_ = true;
|
|
1283
|
-
iterator->Seek(target);
|
|
1284
|
-
return iterator->Status();
|
|
1285
|
-
},
|
|
1286
|
-
[=](auto& state, auto env, auto& argv) {
|
|
1287
|
-
return napi_ok;
|
|
1288
|
-
});
|
|
1277
|
+
iterator->first_ = true;
|
|
1278
|
+
iterator->Seek(target); // TODO: Does seek causing blocking IO?
|
|
1289
1279
|
|
|
1290
1280
|
return 0;
|
|
1291
1281
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|