@tlukastee/event-bus-local
v1.9.8
Published
Local Event Bus Module for Medusa
Downloads
2
Readme
Overview
Local Event Bus module for Medusa. When installed, the events system of Medusa is powered by the Node EventEmitter. This module installed by default in new (> v1.8.0) Medusa projects.
The Node EventEmitter is limited to a single process environment. We generally recommend using the @tlukastee/event-bus-redis
module in a production environment.
Getting started
Install the module:
yarn add @tlukastee/event-bus-local
You don't need to add the module to your project configuration as it is the default one. Medusa will try to use it, if no other event buses are installed.
module.exports = {
// ...
modules: [ ... ],
// ...
}
Configuration
The module comes with no configuration options.