aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--src/com/github/ivarref/yoltq.clj3
2 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 836ed49..0635d5f 100644
--- a/README.md
+++ b/README.md
@@ -471,6 +471,9 @@ Added multicast support for `datomic.api/tx-report-queue`:
(println "Processing q-item" q-item)
(recur))))))
+; The default value for `send-end-token?` is `false`, i.e. the behaviour will be
+; identical to that of datomic.api/tx-report-queue.
+
@(d/transact conn [{:db/doc "new-data"}])
; Stop the queue:
diff --git a/src/com/github/ivarref/yoltq.clj b/src/com/github/ivarref/yoltq.clj
index 45f2051..0f63e25 100644
--- a/src/com/github/ivarref/yoltq.clj
+++ b/src/com/github/ivarref/yoltq.clj
@@ -390,7 +390,8 @@
Repeated calls using the same `conn` and `id` returns the same queue.
The optional third parameter, `send-end-token?`, if set to `true`, instructs the multicaster thread
- to send `:end` if the queue is stopped. The default value is `false`.
+ to send `:end` if the queue is stopped.
+ The default value for `send-end-token?` is `false`.
A queue may be stopped using `stop-multicaster-id!`, `stop-multicaster!` or `stop-all-multicasters!`.