Projects the neutral AshUi.Rendered algebra through the core
AshUi.Diff kernel into Datastar updates.
The core kernel owns fingerprints, dynamic invalidation, duplicate-key checks, and keyed entry changes. This adapter renders the corresponding Datastar-target element and encodes only the selector-scoped SSE operation required to apply that result.
Summary
Functions
@spec full_render(struct(), AshUi.Patch.Table.t(), keyword()) :: binary()
@spec initial_render(struct(), AshUi.Patch.Table.t(), keyword()) :: {binary(), map()}
@spec patch(struct(), MapSet.t() | :all | struct(), AshUi.Patch.Table.t()) :: [ AshUi.Datastar.SSE.event() ]
@spec patch(struct(), MapSet.t() | :all | struct(), AshUi.Patch.Table.t(), keyword()) :: [ AshUi.Datastar.SSE.event() ]
@spec patch(struct(), struct(), list(), AshUi.Patch.Table.t(), keyword()) :: [ AshUi.Datastar.SSE.event() ]
@spec render( struct(), MapSet.t() | :all, list(), AshUi.Patch.Table.t(), map(), keyword() ) :: {[AshUi.Datastar.SSE.event()], map()}