View Source Yex.Managed.SharedDoc (y_ex v0.5.0)
This module is experimental
Automatically synchronized document processes within the same process group. This is synchronized cluster-wide.
Note: this uses :pg.monitor and requires OTP 25.1 or higher.
vs Yex.Sync.SharedDoc Because a copy is maintained for each cluster, the amount of communication between clusters may be reduced, but memory usage will increase.
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()