pub fn publish_position_event(topic: MStr<Topic>, event: &PositionEvent)
Publishes a position event to subscribers on a topic.