Overview of Yazi Data Distribution Service (DDS)
The Data Distribution Service (DDS) allows communication and state synchronization between multiple Yazi instances and provides state persistence. It uses a client-server architecture without requiring a separate server process and integrates with a Lua-based publish-subscribe model.
Key concepts:
- Local: The current Yazi process instance.
- Remote: Any Yazi instance other than the current one.
- Static Message: Messages with a kind starting with
@are stored persistently and restored when a new instance starts. To remove a persistent message, sendnilto that kind.