ClojureStream Podcast cover image

S1 E4 - State with Russ Olsen

ClojureStream Podcast

00:00

Is Order Guaranteed in Refs?

We have atoms, and then we have agents which are the cues. What are the refs? Refs are kind of like, if you think of an atom as sort of like a database, it's like a trivial little database. I can store things in it and then I can do these transactions on my little one value database. A ref, you can have a number of refs and you can update them in a safe way altogether. Effectively, you have a transaction on your ref. This is a way where if I have two independent values, I can essentially put them in two refs.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app