View Source API Reference y_ex v0.5.1

Modules

Yex

Yex is wrapper library for the Yjs CRDT library.

A shareable Array-like type that supports efficient insert/delete of elements at any position.

A preliminary array. It can be used to early initialize the contents of a Array.

Examples

iex> doc = Yex.Doc.new()
iex> {:ok, _awareness} = Yex.Awareness.new(doc)

Document options.

A shareable Map type.

A preliminary map. It can be used to early initialize the contents of a Map.

Sync protocol.

This process handles messages for yjs protocol sync and awareness. https://github.com/yjs/y-protocols

Persistence behavior for SharedDoc

A shareable type that is optimized for shared editing on text.