Lightning.Collaboration.WorkflowReconciler (Lightning v2.14.5-pre1)
View SourceHandles reconciliation of workflow changes between LiveView saves and collaborative YDoc instances. Converts Ecto changeset operations to YDoc-compatible operations and applies them to any running SharedDoc.
Summary
Functions
Takes a changeset that was used to update a workflow and reconciles it with the active SharedDocs for that workflow.
Functions
@spec reconcile_workflow_changes(Ecto.Changeset.t(), Lightning.Workflows.Workflow.t()) :: :ok
Takes a changeset that was used to update a workflow and reconciles it with the active SharedDocs for that workflow.