wps-events
Installation
SKILL.md
WPS Events Guide
Overview
WPS (Wave PubSub) is Wave Terminal's publish-subscribe event system that enables different parts of the application to communicate asynchronously. The system uses a broker pattern to route events from publishers to subscribers based on event types and scopes.
Key Files
pkg/wps/wpstypes.go- Event type constants and data structurespkg/wps/wps.go- Broker implementation and core logicpkg/wcore/wcore.go- Example usage patterns
Event Structure
Events in WPS have the following structure: