Skip to content

vermilionsands/frostflower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frostflower

Additional local file backend for duratom.

Frostflower's file backend does not use agent like duratom does, and won't return from swap! before the write is completed.

Dependency

Clojars Project

Usage

There is an additional backend dispatch for :sync-local-file key.

;; require frostflower to make the additional dispatch available
(require '[vermilionsands.frostflower :as frostflower])
(require '[duratom.core :as duratom])

(duratom :sync-local-file
         :file-path "/home/..."
         :init {:x 1 :y 2})

License

Copyright © 2017 vermilionsands

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Synchronized local file backend for Clojure/duratom.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published