@inithium/pubsub
v0.1.0
Published
Real-time messaging and transient state engine for Inithium, built on Socket.io. Provides authenticated gateways, cross-node pub/sub scaling, and a distributed state store for room- and game-oriented applications.
Readme
pubsub
Real-time messaging and transient state engine for Inithium, built on Socket.io. Provides authenticated gateways, cross-node pub/sub scaling, and a distributed state store for room- and game-oriented applications.
Entry points
@inithium/pubsub— environment-agnostic contracts: event registries, channel helpers,BrokerAdapter/StateStoreinterfaces, and theunicast/multicast/broadcastemit helpers.@inithium/pubsub/server—createPubSubServer, theInMemoryAdapter/RedisAdapterbrokers, and theMemoryStateStore/RedisStateStoredrivers.@inithium/pubsub/client—createPubSubClient, a typed wrapper aroundsocket.io-clientfor browser or Node consumers.
Building
Run nx build pubsub to build the library.
