Kotoba.Collab.Store.Memory (Kotoba v0.5.0)

Copy Markdown View Source

An in-memory collaboration store for development and tests.

Start it under your supervisor and pass its name or PID as the store context. It survives document-process restarts, but not a node restart. Production applications should supply a durable Kotoba.Collab.Store.

Summary

Functions

Returns a specification to start this module under a supervisor.

Seeds a document before its first collaboration join.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

seed(server, id, content)

Seeds a document before its first collaboration join.

start_link(opts \\ [])