JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1278
  • Score
    100M100P100Q113719F
  • License MIT

Package Exports

  • @node-ts/bus-messages

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@node-ts/bus-messages) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@node-ts/bus-messages

Greenkeeper badge CircleCI

This package should be consumed wherever your application defines message contracts. Messages are small pieces of data that get passed around between services. They can define an instruction to perform an action, or report that something has just occurred.

@node-ts/bus-messages defines three types of messages:

Command

Commands are a type of message that represents an instruction to do work. These can be technical instructions such as BackupDatabase, ScaleOutLoadBalancer, or modeled after your business domains like ChargeCreditCard, PostMerchandise.

A commands are sent to a single service for processing, and generally result in the publication of one or more Events

Event

An event is a message emitted by the system when "something" happens. Again this could be a technical task being completed such as DatabaseBackedup, LoadBalancerScaledOut or as a result of changes in your business CreditCardCharged, MerchandisePosted.