Alepha Topic

A publish-subscribe (pub/sub) messaging interface for eventing.

Installation

This package is part of the Alepha framework and can be installed via the all-in-one package:

npm install alepha

Alternatively, you can install it individually:

npm install @alepha/core @alepha/topic

Module

Generic interface for pub/sub messaging. Gives you the ability to create topics and subscribers. This module provides only a memory implementation of the topic provider.

API Reference

Descriptors

$subscriber()

Subscribe to a $topic.

$topic()

Create a new topic.

Table of contents