A store in memory, for development and tests. It outlives a document's authority, but loses everything when its node stops.
children = [
{Issho.Store.Memory, name: MyApp.CollabStore},
{Issho, name: MyApp.Issho, store: {Issho.Store.Memory, MyApp.CollabStore}, ...}
]content/2 reads a document's content as last saved, for tests.
Summary
Functions
@spec content(Agent.agent(), String.t()) :: term()
The content of a document as last saved, or nil.
@spec start_link(keyword()) :: Agent.on_start()
Starts a store. Options: :name.