Pre: clarify comments.
This commit is contained in:
parent
a89224673a
commit
e1b1abe2de
1 changed files with 11 additions and 8 deletions
|
@ -111,9 +111,12 @@
|
|||
|
||||
(in-transaction!
|
||||
[db chan-fn]
|
||||
"Evaluate the given pair-chan `chan-fn` in an exclusive transaction. If it returns non-nil,
|
||||
commit the transaction; otherwise, rollback the transaction. Returns a pair-chan resolving to
|
||||
the pair-chan returned by `chan-fn`.")
|
||||
"Evaluate the given `chan-fn` in an exclusive transaction. If it returns non-nil,
|
||||
commit the transaction; otherwise, rollback the transaction.
|
||||
|
||||
`chan-fn` should be a function of no arguments returning a pair-chan.
|
||||
|
||||
Returns a pair-chan resolving to the same pair as the pair-chan returned by `chan-fn`.")
|
||||
|
||||
(<bootstrapped? [db]
|
||||
"Return true if this database has no transactions yet committed.")
|
||||
|
|
Loading…
Reference in a new issue