Fork me on GitHub
#xtdb
<
2020-09-30
>
Toyam Cox15:09:49

@kevin842 do you have ideas about what I wrote?

nivekuil16:09:30

I don't think you want to use the double colon keyword, and why does node need to be derefed?

Toyam Cox16:09:40

oh in my case I wait to init the database until when it's needed, so I stick it in an atom

nivekuil16:09:58

I do this with integrant but I just def the node later instead of putting it in an atom

Toyam Cox16:09:10

IDK why I put it in the atom, except I think in theory it lets me re-start the node if it fails in some later setup

Toyam Cox17:09:41

But it turns out I can noop a tx fn with a [] return, so that's pretty great

🙂 3