Skip to content

Commit da2fb70

Browse files
teodorlutonsky
authored andcommitted
Fix typo in listen! docs
1 parent 651e9e7 commit da2fb70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datascript/core.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@
555555
"Listen for changes on the given connection. Whenever a transaction is applied to the database via [[transact!]], the callback is called
556556
with the transaction report. `key` is any opaque unique value.
557557
558-
Idempotent. Calling [[listen!]] with the same twice will override old callback with the new value.
558+
Idempotent. Calling [[listen!]] with the same key twice will override old callback with the new value.
559559
560560
Returns the key under which this listener is registered. See also [[unlisten!]]."
561561
([conn callback] (listen! conn (rand) callback))

0 commit comments

Comments
 (0)