aboutsummaryrefslogtreecommitdiff
path: root/ref/store/batch_store.go
diff options
context:
space:
mode:
Diffstat (limited to 'ref/store/batch_store.go')
-rw-r--r--ref/store/batch_store.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/ref/store/batch_store.go b/ref/store/batch_store.go
new file mode 100644
index 00000000..3ccfdd10
--- /dev/null
+++ b/ref/store/batch_store.go
@@ -0,0 +1,7 @@
+package refstore
+
+// BatchStore begins non-atomic reference batches.
+type BatchStore interface {
+ // BeginBatch creates one new queued batch.
+ BeginBatch() (Batch, error)
+}