blocks.store.memory

Memory stores provide process-local storage backed by a map in a ref. Blocks put into this store will be fully read into memory to ensure the content is present locally. Memory block stores may be constructed usin the mem:- URI form.

This store is most suitable for testing, caches, and other situations which call for an ephemeral block store.

memory-block-store

(memory-block-store & {:as opts})

Creates a new in-memory block store.