plc_control/crates/app_feeder_distributor
caoqianming 1c646dfaa7 Extract event persistence primitive to platform core
Move the INSERT + WebSocket broadcast mechanism out of the feeder app
and into plc_platform_core as pub record_event(pool, ws, EventInsert).
The event table schema is owned by core, so writing to it is a platform
capability — apps (feeder, future ops) should only decide what to emit,
not how to persist it. Also replaces the 7-tuple in core's
persist_and_broadcast with the named EventInsert struct for readability.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-21 20:04:25 +08:00
..
src Extract event persistence primitive to platform core 2026-04-21 20:04:25 +08:00
tests feat(feeder): create dedicated feeder distributor app crate 2026-04-16 12:38:58 +08:00
Cargo.toml feat(feeder): create dedicated feeder distributor app crate 2026-04-16 12:38:58 +08:00