Fork me on GitHub
#datomic
<
2017-07-02
>
souenzzo03:07:29

There is some add-listener example? I can understand what is each of the arguments [fut f executor] - What is fut? - What is the signature of f - executor? No mentions to this word on any other datomic doc.. - There I put conn?

favila13:07:27

@souenzzo these are Java terms, and this fn is not specific to datomic. fut is a java future (e.g. from d/transact-async), f gets one arg-- the value of the future. Executor is a java executor, it provides the threadpool that will execute the function f when it is called

souenzzo13:07:04

This is not what I was thinking. There is some trigger on datomic to inspect each committed change on a connection?

favila14:07:29

tx-report-queue @souenzzo