Skip to main content

publish_editor_file_changed

Function publish_editor_file_changed 

Source
fn publish_editor_file_changed(
    broker: &Broker,
    path: &Path,
    block_ids: &[String],
)
Expand description

Publish EVENT_EDITOR_FILE_CHANGED, scoped to every block that has a tab open on path. Mirrors publish_block_activity’s per-block scoping (crates/srv/src/backend/mps.rs) — not a global broadcast.