What problem does it solve?
This Skill provides a robust abstraction layer for message-based communication, decoupling your application's core logic from the underlying transport mechanisms like WebSockets, IPC, or postMessage.
Core Features & Use Cases
- Transport Agnostic: Implement communication logic once and deploy it across various channels.
- Request/Response & Push: Supports both two-way request/response patterns and one-way notifications.
- Error Handling & Abort: Built-in mechanisms for timeout, aborting requests, and propagating errors with status codes.
- Use Case: Build a real-time chat application where the message sending logic remains the same whether you're using WebSockets for web clients or Node.js IPC for inter-process communication.
Quick Start
Implement a new communication channel by extending the MessageModem abstract class, defining post and exec methods.