From da2fb704f976a2651888b284dddeb26a6913d746 Mon Sep 17 00:00:00 2001 From: Teodor Heggelund Date: Wed, 15 May 2019 13:04:45 +0200 Subject: [PATCH] Fix typo in listen! docs --- src/datascript/core.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datascript/core.cljc b/src/datascript/core.cljc index 00f902f0..e7544a90 100644 --- a/src/datascript/core.cljc +++ b/src/datascript/core.cljc @@ -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))