(add-entry! {:keys [dispatch] :as lib} entry)adds the entry with the bulk dispatcher
adds the entry with the bulk dispatcher
(add-entry-single! lib entry & [opts])adds an entry synchronously
adds an entry synchronously
(add-module! lib module)adds a module to the library
(lib/add-module! +library+ (module/book-module '{:lang :redis :id L.redis.hello :link {r L.redis u L.core}})) => coll?
(lib/delete-module! +library+ :redis 'L.redis.hello ) => coll?
adds a module to the library
(lib/add-module! +library+ (module/book-module '{:lang :redis
:id L.redis.hello
:link {r L.redis
u L.core}}))
=> coll?
(lib/delete-module! +library+ :redis 'L.redis.hello )
=> coll?(delete-entry! lib {:keys [lang module section id] :as m})deletes an entry from the library
deletes an entry from the library
(delete-module! lib lang module-id)deletes a module from the library
deletes a module from the library
(delete-modules! lib lang module-ids)deletes a bunch of modules from the library
deletes a bunch of modules from the library
(get-book-raw lib lang)gets the raw book, without merge
(b/list-entries (lib/get-book-raw +library+ :redis)) => empty?
(b/list-entries (lib/get-book +library+ :redis)) => coll?
gets the raw book, without merge (b/list-entries (lib/get-book-raw +library+ :redis)) => empty? (b/list-entries (lib/get-book +library+ :redis)) => coll?
(get-entry lib {:keys [lang id module section] :as entry})gets an entry from library
gets an entry from library
(get-module lib lang module-id)gets a module from library
gets a module from library
(get-snapshot lib)gets the current snapshot for the library
gets the current snapshot for the library
(install-book! lib book)installs a book to library
installs a book to library
(install-module! lib lang module-id options)installs a module to library
installs a module to library
(library {:keys [id parent snapshot] :as m})creates and start a new library
creates and start a new library
(library-string {:keys [id parent instance]})returns the library string
returns the library string
(library:create {:keys [id parent snapshot] :as m})creates a new library
creates a new library
(list-entries lib lang)(list-entries lib lang module-id)(list-entries lib lang module-id section)lists entries
lists entries
(purge-book! lib lang)clears all modules from book
clears all modules from book
(reset-all! lib)(reset-all! lib new-snapshot)resets the library
resets the library
(wait-apply lib f & args)get the library state when task queue is empty
get the library state when task queue is empty
(wait-mutate! lib f & args)mutates library once task queue is empty
mutates library once task queue is empty
(wait-snapshot lib)gets the current waiting snapshot
(lib/wait-snapshot +library+) => snap/snapshot?
(meta (lib/wait-snapshot +library+)) => {:parent nil}
gets the current waiting snapshot
(lib/wait-snapshot +library+)
=> snap/snapshot?
(meta (lib/wait-snapshot +library+))
=> {:parent nil}cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |