@ivfuture/ecomm-event-bus-local
TypeScript icon, indicating that this package has built-in type declarations

1.9.0 • Public • Published

Medusa

@medusajs/event-bus-local

An open source composable commerce engine built for developers.

Medusa is released under the MIT license. Current CircleCI build status. PRs welcome! Product Hunt Discord Chat Follow @medusajs

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 @medusajs/event-bus-redis module in a production environment.

Getting started

Install the module:

yarn add @medusajs/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.

Readme

Keywords

none

Package Sidebar

Install

npm i @ivfuture/ecomm-event-bus-local

Weekly Downloads

33

Version

1.9.0

License

MIT

Unpacked Size

16.3 kB

Total Files

15

Last publish

Collaborators

  • ivfuture