alepha@docs:~/docs/packages/alepha/topic$
cat core.md1 min read
Last commit:
#Alepha - Topic
#Installation
Part of the alepha package. Import from alepha/topic.
npm install alepha
#Overview
Publish/subscribe messaging for event-driven architectures.
Features:
- Pub/sub topics with type-safe messages
- Topic subscription handlers
- Multiple subscriber support
- Message filtering and routing
- Providers: Memory (dev), Redis (production)
#API Reference
#Primitives
$subscriber— Creates a subscriber primitive to listen for messages from a specific topic.$topic— Creates a topic primitive for publish/subscribe messaging and event-driven architecture.