View Source Yex.Sync.SharedDoc (y_ex v0.5.0)
This process handles messages for yjs protocol sync and awareness. https://github.com/yjs/y-protocols
Persistence is supported by passing persistence module. see Yex.Sync.SharedDoc.PersistenceBehaviour
If the observer process does not exist, it will automatically terminate.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec start(param :: [launch_param()], option :: GenServer.options()) :: GenServer.on_start()
@spec start_link(param :: [launch_param()], option :: GenServer.options()) :: GenServer.on_start()