(*supatom & configs)
Wrapper for creating supatom's from maps.
Wrapper for creating supatom's from maps.
(backup-> {:keys [source-atom destination-atom]})
(backup-> source-atom dest)
Create a backup atom.
Create a backup atom.
(count-> {:keys [source-atom path]})
(count-> source-atom path)
Returns the count in the atom along the supplied path.
Returns the count in the atom along the supplied path.
(cursor-> {:keys [source-atom path]})
(cursor-> source-atom path)
Creates a cursor from the supplied atom using a supplied path.
Creates a cursor from the supplied atom using a supplied path.
(fresh-lock)
(head-> {:keys [source-atom path quantity]})
(head-> source-atom path quantity)
Returns the first quantity
entries from the atom.
Returns the first `quantity` entries from the atom.
(commit this)
(snapshot this)
Alias to create simple supalink functions.
Alias to create simple supalink functions.
(map->Supalink {:keys [source-atom get-with set-with meta validate-with
watches-atom trigger-with id]})
Takes a map and creates a supalink.
Takes a map and creates a supalink.
(supalink config)
(supalink source-atom get-with)
(supalink source-atom get-with set-with)
Simplest supalink creation function
Simplest supalink creation function
(supatom overlay-config)
Takes a config map and returns a function that takes another config map and makes a supatom.
Takes a config map and returns a function that takes another config map and makes a supatom.
(supatom->)
(supatom-> overlay-config)
Simplest supatom creation function.
Simplest supatom creation function.
(tail-> {:keys [source-atom path quantity]})
(tail-> source-atom path quantity)
Returns the last quantity
entries from the atom.
Returns the last `quantity` entries from the atom.
(with-locking lock & body)
(xform-> {:keys [source-atom xform destination-atom]})
(xform-> source-atom xform dest)
Xfroms a source atom to the destination atom using the supplied fn.
Xfroms a source atom to the destination atom using the supplied fn.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close