We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 651e9e7 commit da2fb70Copy full SHA for da2fb70
src/datascript/core.cljc
@@ -555,7 +555,7 @@
555
"Listen for changes on the given connection. Whenever a transaction is applied to the database via [[transact!]], the callback is called
556
with the transaction report. `key` is any opaque unique value.
557
558
- Idempotent. Calling [[listen!]] with the same twice will override old callback with the new value.
+ Idempotent. Calling [[listen!]] with the same key twice will override old callback with the new value.
559
560
Returns the key under which this listener is registered. See also [[unlisten!]]."
561
([conn callback] (listen! conn (rand) callback))
0 commit comments