You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -37,6 +39,7 @@ class WritableStorage extends ReadableStorage {
37
39
* @param {function(object, number): string} [config.partitioner] A function that takes a document and sequence number and returns a partition name that the document should be stored in. Defaults to write all documents to the primary partition.
38
40
* @param {object} [config.indexOptions] An options object that should be passed to all indexes on construction.
39
41
* @param {string} [config.hmacSecret] A private key that is used to verify matchers retrieved from indexes.
42
+
* @param {number} [config.lock] One of LOCK_* constants that defines how an existing lock should be handled.
40
43
*/
41
44
constructor(storageName='storage',config={}){
42
45
if(typeofstorageName!=='string'){
@@ -53,13 +56,13 @@ class WritableStorage extends ReadableStorage {
0 commit comments