Skip to content

Commit

Permalink
Fix typo in listen! docs
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorlu authored and tonsky committed May 15, 2019
1 parent 651e9e7 commit da2fb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datascript/core.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@
"Listen for changes on the given connection. Whenever a transaction is applied to the database via [[transact!]], the callback is called
with the transaction report. `key` is any opaque unique value.
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.
Returns the key under which this listener is registered. See also [[unlisten!]]."
([conn callback] (listen! conn (rand) callback))
Expand Down

0 comments on commit da2fb70

Please sign in to comment.